Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct { Name string Help string SubCommands map[string][]string CustomCompleter func(input string, position int) Handle func(*Request) error }
Command describes a CLI command
func FindCommand ¶
FindCommand finds command handler for a command string
type Request ¶
Request describes a command request
func NewRequest ¶
NewRequest creates a new request from a command
Click to show internal directories.
Click to hide internal directories.