ui

package
v0.0.0-...-9fdfd3a Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func ColorPrint

func ColorPrint(message string, fgColor color.Attribute)

func ColorPrintBold

func ColorPrintBold(message string, fgColor color.Attribute)

func DestructiveConfirmation

func DestructiveConfirmation()

func DisplayMediaPoster

func DisplayMediaPoster(posterPath string)

func Error

func Error(message string)

func ErrorSub

func ErrorSub(message, sub string)

func Fatal

func Fatal(message string, err error)

func FatalQuiet

func FatalQuiet(message string, err error)

func GetInput

func GetInput(title string, validator func(string) error) string

func GetMaskedInput

func GetMaskedInput(title string, validator func(string) error) string

func PrintBox

func PrintBox(title, sub string)

func PrintCompactBox

func PrintCompactBox(title, sub string)

func PrintTitleBox

func PrintTitleBox(title, sub string)

func Selector

func Selector(title string, options []string) (int, string)

func SelectorTemplated

func SelectorTemplated(title string, options interface{}, template *promptui.SelectTemplates) (int, string)

func StartSpinner

func StartSpinner()

func StopSpinner

func StopSpinner()

func Success

func Success(message string)

func Table

func Table(values [][]string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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