Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct {
Name string
Aliases []string
Summary string
Usage string
Long string
Run RunFunc
Children []*Command
}
Command describes one CLI command. Commands can be nested arbitrarily.
type UsageError ¶
UsageError represents invalid user input. Callers should exit with code 2.
func (*UsageError) Error ¶
func (e *UsageError) Error() string
Click to show internal directories.
Click to hide internal directories.