term

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OkHint   = color.GreenString("✔")
	FailHint = color.RedString("✘")
)
View Source
var Editor = func() string {
	if val := os.Getenv("GITFLOW_EDITOR"); val != "" {
		return val
	}
	return "vim"
}()

Functions

func Confirm

func Confirm(msg string, args ...interface{}) bool

func Edit

func Edit(path string) error

func Input

func Input(msg string, args ...interface{}) (string, error)

func Less

func Less(content string) error

func Open

func Open(url string) error
func Search(items []string) (int, error)

func Select

func Select(items interface{}, msg string, args ...interface{}) (int, error)

func Warn

func Warn(msg string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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