blob: c24869ae6d41143ad33ef0b3689856d77affe8ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
package commands
var (
GlobalCommands *Commands
)
func register(name string, cmd AercCommand) {
if GlobalCommands == nil {
GlobalCommands = NewCommands()
}
GlobalCommands.Register(name, cmd)
}
|