Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TestFlag = &cli.BoolFlag{ Name: "test", Aliases: []string{"t"}, Usage: "test configuration and exit", } ConfigFlag = &cli.StringFlag{ Name: "config", Aliases: []string{"c"}, Value: "config.yaml", DefaultText: "config.yaml", Usage: "set configuration file", } SignalFlag = &cli.StringFlag{ Name: "signal", Aliases: []string{"s"}, Usage: "send signal to a master process: stop, quit, reload", Value: "", } HelpFlag = cli.HelpFlag VersionFlag = cli.VersionFlag )
Functions ¶
func Setup ¶
func Setup(app *cli.App, fn CommandFunc)
Types ¶
type CommandFunc ¶
Click to show internal directories.
Click to hide internal directories.