Documentation ¶
Overview ¶
Package cmd provides a common interface for executing commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor interface { // Exec executes the command provided by given arguments in given working // directory using stdin as input while redirecting stdout and stderr to // given writers. Exec(stdin io.Reader, stdout, stderr io.Writer, dir string, env []string, args ...string) error }
Executor provides a common interface for executing commands.
Click to show internal directories.
Click to hide internal directories.