Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandResult ¶
type CommandResult struct {
Status int
Stdout bytes.Buffer
Stderr bytes.Buffer
Success bool
Err error
}
func RunCommand ¶
func RunCommand(command []string, ops ...Option) *CommandResult
func RunCommandForLast ¶
func RunCommandForLast(commands [][]string, ops ...Option) (bool, *CommandResult)
func (*CommandResult) OutputOrFatal ¶
func (r *CommandResult) OutputOrFatal()
Click to show internal directories.
Click to hide internal directories.