Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdUsageTemplate = `` /* 946-byte string literal not displayed */
Functions ¶
func CheckOutputFlag ¶ added in v0.0.19
CheckOutputFlag validates the -o flag
func GetFullName ¶ added in v0.0.18
GetFullName generates a command's full name based on its parent's full name and its own name
func LogErrorAndExit ¶ added in v0.0.18
LogErrorAndExit prints the cause of the given error and exits the code with an exit code of 1. If the context is provided, then that is printed, if not, then the cause is detected using errors.Cause(err)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.