Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintCommands ¶
func RunCommands ¶
func RunCommands(commands []Command, printUsage func(), logger log.DebugLogger) int
Types ¶
type Command ¶
type Command struct {
Command string
Args string
MinArgs int
MaxArgs int
CmdFunc CommandFunc
}
type CommandFunc ¶
type CommandFunc func([]string, log.DebugLogger) error
Click to show internal directories.
Click to hide internal directories.