Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spinner ¶
type Spinner interface {
Success(message ...interface{})
Warning(message ...interface{})
Fail(message ...interface{})
}
type UI ¶
type UI interface {
AskForUsersInput(message string) string
DisplayInteractiveMultiselect(msg string, options []string, checkMark Checkmark, optionsDefaultAll, filter bool, maxHeight int) []string
DisplayInteractiveSelect(msg string, options []string, filter bool, maxHeight int) string
DisplaySelectedItems(items []string)
AskForUsersConfirmation(message string) bool
StartSpinner(message string) Spinner
// Printers
Info() Printer
Success() Printer
Error() Printer
Warning() Printer
DefaultBox() Printer
// Colors
Green(...interface{}) string
Red(...interface{}) string
Yellow(...interface{}) string
Blue(...interface{}) string
//
BasicCheckmark() Checkmark
}
Click to show internal directories.
Click to hide internal directories.