package
0.0.0-20181025162358-f808c62dd6bb
Repository: https://github.com/turbinelabs/cli.git
Documentation: pkg.go.dev
# Functions
NewMockRunner creates a new mock instance.
NoError returns the singleton unscoped CmdErr with an exit code of 0.
# Constants
Bad Input Error.
CmdErrCodeError is the CmdErrCode returned for a generic error.
CmdErrCodeNoError is the CmdErrCode returns when there is no error.
# Structs
A Cmd represents a named sub-command for a command-line application.
CmdErr represents the exit status of a Cmd.
MockRunner is a mock of Runner interface.
MockRunnerMockRecorder is the mock recorder for MockRunner.
# Interfaces
A Runner represents the executable code associated with a Cmd.
# Type aliases
CmdErrCode is the exit code for the application.