blob: c24869ae6d41143ad33ef0b3689856d77affe8ec (
plain) (
tree)
|
|
package commands
var (
GlobalCommands *Commands
)
func register(name string, cmd AercCommand) {
if GlobalCommands == nil {
GlobalCommands = NewCommands()
}
GlobalCommands.Register(name, cmd)
}
|