term

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AlwaysYes bool
)
View Source
var Editor = func() string {
	if val := os.Getenv("GITFLOW_EDITOR"); val != "" {
		return val
	}
	return "vim"
}()

Functions

func CommandExists added in v0.0.2

func CommandExists(name string) bool

func Confirm

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

func Edit

func Edit(path string) error

func FailedHint added in v0.0.2

func FailedHint() string

func Input

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

func Less

func Less(content string) error

func OkHint

func OkHint() string

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