Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IExec ¶
type IExec interface {
Run(dir string, name string, args ...string) error
Output(dir, cmd string, args ...string) (string, error)
CombinedOutput(dir, cmd string, args ...string) (string, error)
}
This interface is used to abstract the execution of commands It defines a single method `execute` that takes a command and its arguments, and returns the output as a string and an error if any occurred.
Click to show internal directories.
Click to hide internal directories.