Documentation
¶
Index ¶
- Variables
- func Confirm(msg string, args ...any) bool
- func ConfirmExit(msg string, args ...any)
- func Edit(editor, path string) error
- func EditContent(editor, content string, name string) (string, error)
- func EditItems[T any](editor string, items []*T, getKey func(*T) string) ([]*T, error)
- func FuzzySearch(name string, items []string) (int, error)
- func InputErase(msg string, args ...any) string
- func InputNewPassword(msg string, args ...any) (string, error)
- func InputPassword(msg string, args ...any) (string, error)
- func Open(url string) error
- func PrintCmd(cmd string, args ...any)
- func PrintError(err error)
- func PrintOperation(msg string, args ...any)
- func Printf(msg string, args ...any)
- func Println(args ...any)
- func Style(a any, style string) string
- func Warn(msg string, args ...any)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AlwaysYes bool
)
Functions ¶
func ConfirmExit ¶
func InputErase ¶ added in v0.6.0
func InputNewPassword ¶ added in v0.6.0
func PrintError ¶
func PrintError(err error)
func PrintOperation ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.