Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandWithDefaults ¶
CommandWithDefaults overwrites default values in the given command.
func ExitErrorf ¶
ExitErrorf formats and error message along with the ExitCode.
func NewGetCommand ¶
NewGetCommand returns a new "get" command tree.
func NewRootCommand ¶
NewRootCommand represents the base command when called without any subcommands
func NewRunCommand ¶
NewRunCommand returns a command ro run a test case.
Types ¶
type ExitCode ¶
type ExitCode int
ExitCode is a process exit code suitable for use with os.Exit.
const ( // EX_FAIL is an exit code indicating an unspecified error. EX_FAIL ExitCode = 1 //nolint(golint) // EX_USAGE is an exit code indicating invalid invocation syntax. EX_USAGE ExitCode = 65 //nolint(golint) // EX_NOINPUT is an exit code indicating missing input data. EX_NOINPUT ExitCode = 66 //nolint(golint) // EX_DATAERR means the input data was incorrect in some // way. This should only be used for user's data and not // system files. EX_DATAERR ExitCode = 65 //nolint(golint) )
Click to show internal directories.
Click to hide internal directories.