Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombinedOutput ¶
CombinedOutput executes a shell command and returns combined output from stdout and stderr.
func ExitError ¶
ExitError converts an error to an exec.ExitError.
func Output ¶
Output executes a shell command and returns output from stdout.
Types ¶
type CLICommand ¶
type CLICommand struct {
// contains filtered or unexported fields
}
CLICommand repreents a command-line command to execute.
type CLIOutput ¶
type CLIOutput struct {
// contains filtered or unexported fields
}
CLIOutput represents the output from executing a CLICommand.
Source Files
¶
- command.go
Click to show internal directories.
Click to hide internal directories.