Documentation
¶
Index ¶
- Constants
- func Blue(s string)
- func Cmd(cmd string, args ...string) *exec.Cmd
- func Exit(msg string, err error)
- func Green(s string)
- func MustRun(cmd *exec.Cmd, failMsg string)
- func NewLine()
- func NewReader() *bufio.Reader
- func Plain(s string)
- func Red(s string)
- func RequireYes(failMsg string)
- func Wrap(s string, f func())
Constants ¶
View Source
const ( ColorRed = "\033[0;31m" ColorGreen = "\033[0;32m" ColorBlue = "\033[0;34m" ColorPlain = "\033[0m" )
Variables ¶
This section is empty.
Functions ¶
func RequireYes ¶
func RequireYes(failMsg string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.