Documentation
¶
Index ¶
- func Capture(env Vars, name string, args ...string) (_ string, exitErr error)
- func Cd(dir string, f func())
- func Exec(env Vars, name string, args ...string) (exitErr error)
- func FileSize(f string) int64
- func Group(name string, f func())
- func Must(predicate interface{}, msg string, args ...interface{})
- func TempDir() string
- type Vars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cd ¶
func Cd(dir string, f func())
Cd into the given directory and execute f(). Restores the original working directory upon return.
func Exec ¶
Exec a command with the given args as a subprocess, redirecting all output to the stdout/stderr. Blocks until execution is completed.
func Group ¶
func Group(name string, f func())
Group wraps output of f() into a collapsible block in action execution log.
Types ¶
Click to show internal directories.
Click to hide internal directories.