Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagNameVerbose = "verbose" FlagNameConfig = "config" DefaultConfigFileName = "screenshots.yaml" )
FlagNameVerbose the full name of the verbose flag FlagNameConfig the full name of the config flag DefaultConfigFileName the default value of the config file
Variables ¶
View Source
var ( FlagVerbose = &cli.BoolFlag{ Name: FlagNameVerbose, Aliases: []string{"v"}, Required: false, Value: false, } FlagConfig = &cli.StringFlag{ Name: FlagNameConfig, Aliases: []string{"c"}, Required: false, Value: DefaultConfigFileName, } )
FlagVerbose the cli tools verbose flag FlagConfig the cli tools config flag
View Source
var Doctor = &cli.Command{
Name: "doctor",
Action: doctor,
}
View Source
var Init = &cli.Command{
Name: "init",
Action: initCmd,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.