Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindAction ¶
func BindAction(clause *cli.CommandClause, fn func() error)
BindAction binds a function to a command clause, so that it is executed when the command is parsed.
Types ¶
type Registerer ¶
type Registerer interface {
Command(cmd string, help string) *cli.CommandClause
}
Registerer allows others to register commands on it.
Click to show internal directories.
Click to hide internal directories.