Documentation ¶
Index ¶
Constants ¶
View Source
const ( SilenceErrorsEnv = "COBRA_SILENCE_USAGE" StackTraceOnErrors = "COBRA_STACK_TRACE_ON_ERRORS" )
Variables ¶
View Source
var ExitOnError bool
ExitOnError if true, will cause commands to call os.Exit instead of returning an error. Used for skipping printing usage on failure.
View Source
var StackOnError bool
StackOnError if true, will print a stack trace on failure.
Functions ¶
func SetSilenceErrors ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.