Documentation
¶
Overview ¶
Package cli contains the common features used to build CLI applications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleErrors ¶
func NewRootCommand ¶
NewRootCommand creates a new root (base) command for a program. The caller is responsible for assigning other properties when needed.
func PrintUserError ¶
func PrintUserError(err error)
Types ¶
type ExitCodeError ¶
func (ExitCodeError) Error ¶
func (e ExitCodeError) Error() string
Click to show internal directories.
Click to hide internal directories.