mirror of
https://github.com/CosmicStar98/bedrocktool.git
synced 2024-06-25 22:49:45 +00:00
11 lines
220 B
Go
11 lines
220 B
Go
|
package utils
|
||
|
|
||
|
import "github.com/google/subcommands"
|
||
|
|
||
|
var ValidCMDs = make(map[string]string, 0)
|
||
|
|
||
|
func RegisterCommand(sub subcommands.Command) {
|
||
|
subcommands.Register(sub, "")
|
||
|
ValidCMDs[sub.Name()] = sub.Synopsis()
|
||
|
}
|