Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶ added in v0.1.0
type Executor struct {
// contains filtered or unexported fields
}
func NewShell ¶ added in v0.1.0
NewShell returns an *Executor that will run the command line in a shell
func (*Executor) Capture ¶ added in v0.1.0
Capture executes the command and return the output and the exit code
func (*Executor) CaptureAndTrim ¶ added in v0.2.0
CaptureAndTrim calls Capture() and trim the blank lines
Click to show internal directories.
Click to hide internal directories.