term

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfirmationFailed = errors.New("aborted by user")

Functions

func Colordiff

func Colordiff(d string) *bytes.Buffer

Colordiff colorizes unified diff output (diff -u -N)

func Confirm

func Confirm(msg, approval string) error

Confirm asks the user for confirmation

Types

This section is empty.

Jump to

Keyboard shortcuts

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