Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArgs ¶
func GetArgs(cmd string) command_args.CommandArgument
func RegisterCommand ¶
func RegisterCommand(command Command)
Types ¶
type Command ¶
type Command interface { Execute(args command_args.CommandArgument, hub IHub) Name() string }
type CommandMap ¶
type CommandMap struct {
// contains filtered or unexported fields
}
var Commands *CommandMap
func (*CommandMap) Get ¶
func (c *CommandMap) Get(cmd string) Command
Click to show internal directories.
Click to hide internal directories.