Documentation
¶
Overview ¶
Package cmdemu provides a way to emulate an external command from test code.
Index ¶
Constants ¶
View Source
const ExitFailure = 1
View Source
const ExitSuccess = 0
Something does not work, but the exact reason is not known.
View Source
const ExitUsage = 64
The command was used incorrectly, e.g., with the wrong number of arguments, a bad flag, a bad syntax in a parameter, or whatever.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExitCodeError ¶
type ExitCodeError int
func (ExitCodeError) Code ¶
func (e ExitCodeError) Code() int
func (ExitCodeError) Error ¶
func (e ExitCodeError) Error() string
Click to show internal directories.
Click to hide internal directories.