Documentation
¶
Index ¶
- Constants
- func ColorPrint(message string, fgColor color.Attribute)
- func ColorPrintBold(message string, fgColor color.Attribute)
- func DestructiveConfirmation()
- func DisplayMediaPoster(posterPath string)
- func Error(message string)
- func ErrorSub(message, sub string)
- func Fatal(message string, err error)
- func FatalQuiet(message string, err error)
- func GetInput(title string, validator func(string) error) string
- func GetMaskedInput(title string, validator func(string) error) string
- func PrintBox(title, sub string)
- func PrintCompactBox(title, sub string)
- func PrintTitleBox(title, sub string)
- func Selector(title string, options []string) (int, string)
- func SelectorTemplated(title string, options interface{}, template *promptui.SelectTemplates) (int, string)
- func StartSpinner()
- func StopSpinner()
- func Success(message string)
- func Table(values [][]string)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ColorPrint ¶
func ColorPrintBold ¶
func DestructiveConfirmation ¶
func DestructiveConfirmation()
func DisplayMediaPoster ¶
func DisplayMediaPoster(posterPath string)
func FatalQuiet ¶
func PrintCompactBox ¶
func PrintCompactBox(title, sub string)
func PrintTitleBox ¶
func PrintTitleBox(title, sub string)
func SelectorTemplated ¶
func SelectorTemplated(title string, options interface{}, template *promptui.SelectTemplates) (int, string)
func StartSpinner ¶
func StartSpinner()
func StopSpinner ¶
func StopSpinner()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.