cliutil

package
v0.0.82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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 Blue

func Blue(s string)

func Cmd added in v0.0.76

func Cmd(cmd string, args ...string) *exec.Cmd

func Exit

func Exit(msg string, err error)

func Green

func Green(s string)

func MustRun added in v0.0.76

func MustRun(cmd *exec.Cmd, failMsg string)

func NewLine

func NewLine()

func NewReader

func NewReader() *bufio.Reader

func Plain

func Plain(s string)

func Red

func Red(s string)

func RequireYes

func RequireYes(failMsg string)

func Wrap

func Wrap(s string, f func())

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL