Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
Result holds the output and exit status of a command execution.
func Cmd ¶
Cmd executes a command with the given context and returns stdout, stderr, and exit code. The command is logged at debug level before execution.
func (Result) MustSucceed ¶
MustSucceed wraps a Result and returns an error if the command failed.
Click to show internal directories.
Click to hide internal directories.