Documentation
¶
Index ¶
- func CommandNotFound(command string) error
- func DuplicateCommand(command string) error
- func FlagsetParseFailed(reason string) error
- func FlagsetSetFailed(reason string) error
- func HelpRequested(reason string) error
- func IsHelpRequested(err error) bool
- func OptionIsInvalid(option string) error
- func OptionIsSet(option string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandNotFound ¶
CommandNotFound returns a command not found error
func DuplicateCommand ¶
DuplicateCommand returns a duplicate command error
func FlagsetParseFailed ¶ added in v0.8.0
FlagsetParseFailed returns a flagset parse failed error
func FlagsetSetFailed ¶ added in v0.8.0
FlagsetSetFailed returns a flagset set failed error
func HelpRequested ¶ added in v0.8.0
HelpRequested returns a help requested error
func IsHelpRequested ¶ added in v0.8.0
IsHelpRequested determines if the specified error is a help requested error
func OptionIsInvalid ¶
OptionIsInvalid returns an option is invalid error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.