Documentation ¶
Index ¶
- Variables
- func DieIf(err error)
- func ErrorIf(err error) bool
- func Log(prefix, message string)
- func PanicIf(err error)
- func Run(command string, args ...string) error
- func RunCommand(cmd *exec.Cmd) error
- func RunInDir(dir, command string, args ...string) error
- func RunSilently(command string, args ...string) error
- type RunError
- type RunFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandRunner = func(cmd *exec.Cmd) error {
return cmd.Run()
}
Functions ¶
func RunCommand ¶
func RunSilently ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.