Documentation ¶
Index ¶
- func Parse(args *[]string)
- func PrintUsage()
- func PrintUsageAndExit()
- func PrintUsageAndExitWithCode(code int)
- func RegisterBoolFlag(reference *bool, shortName string, longName string, description string)
- func RegisterStringFlag(reference *string, shortName string, longName string, description string)
- func RegisterUintFlag(reference *uint, shortName string, longName string, description string)
- func SetDetails(name string, link string)
- func SetExample(example string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintUsageAndExit ¶
func PrintUsageAndExit()
PrintUsageAndExit prints CLI flags usage and exits with code 1
func PrintUsageAndExitWithCode ¶
func PrintUsageAndExitWithCode(code int)
PrintUsageAndExitWithCode prints CLI flags usage and exits with code
func RegisterBoolFlag ¶
RegisterBoolFlag registers a boolean flag
func RegisterStringFlag ¶
RegisterStringFlag registers a string flag
func RegisterUintFlag ¶
RegisterUintFlag registers a uint flag
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.