Documentation
¶
Overview ¶
Package cli wires the provr command tree. It contains no business logic.
Index ¶
Constants ¶
const ( ExitOK = 0 ExitRuntime = 1 ExitUsage = 2 )
Process exit codes.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExitCodeError ¶
type ExitCodeError struct{ Code int }
ExitCodeError makes the process exit with Code without a further message; exec uses it to propagate the remote command's exit code.
func (*ExitCodeError) Error ¶
func (e *ExitCodeError) Error() string
type UsageError ¶
type UsageError struct{ Err error }
UsageError marks an error caused by wrong command-line usage.
func (*UsageError) Error ¶
func (e *UsageError) Error() string
func (*UsageError) Unwrap ¶
func (e *UsageError) Unwrap() error