Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoCommand = fmt.Errorf("No command provided")
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface { // Name returns name of command Name() string // Usage returns short help to command Usage() string // Flags returns FlagSet with flags for current command Flags() *flag.FlagSet // Run command Run(args []string) error }
Command represents top level command of cli application
Click to show internal directories.
Click to hide internal directories.