Documentation ¶
Index ¶
- Variables
- func ChainCmds(fns ...Cmd) error
- func Fatal(args ...interface{}) error
- func FatalError(err error) error
- func Fatalf(format string, args ...interface{}) error
- func InDirectory(path string, cmd Cmd) (err error)
- func PipeOutCmd(fn OutCmdFunc, args ...string) pipe.Pipe
- type ArgsMap
- type Cmd
- type CmdWithArgs
- type OutCmdFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MkTempDirOut = sh.OutCmd("mktemp", "-d") GoInstall = sh.RunCmd("go", "install") GoUpdate = sh.RunCmd("go", "get", "-u") GoGet = sh.RunCmd("go", "get") GoEnvOut = sh.OutCmd("go", "env") GoMod = sh.RunCmd("go", "mod") GoModVendor = sh.RunCmd("go", "mod", "vendor") GoModTidy = sh.RunCmd("go", "mod", "tidy") )
Functions ¶
func FatalError ¶
func InDirectory ¶
func PipeOutCmd ¶
func PipeOutCmd(fn OutCmdFunc, args ...string) pipe.Pipe
Types ¶
type CmdWithArgs ¶
type OutCmdFunc ¶
Click to show internal directories.
Click to hide internal directories.