Documentation
¶
Overview ¶
Package shell provides helpers for executing shell commands and wrappers for popular commands (e.g., git).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
Exec executes the given command within workingDir and returns the stdout. If there is an error in starting the command or the command exits with non zero code, returns the stderr wrapped in Go error.
func GitClone ¶ added in v0.2.1
GitClone runs 'git clone' with the repoURL and clones the repo contents into targetDir. targetDir must be an empty directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.