Documentation
¶
Index ¶
- Constants
- func Intro(title string)
- func LogError(msg string)
- func LogInfo(msg string)
- func LogSuccess(msg string)
- func LogWarn(msg string)
- func Note(content, title string)
- func Outro(message string)
- func UiConfirm(message string) (bool, bool)
- func UiMultiselect(message string, options []UIOption, required bool, initialSelected []int, ...) ([]int, bool)
- func UiSearchMultiselect(message string, options []UIOption, locked []UIOption, initialSelected []int) ([]int, bool)
- func UiSelect(message string, options []UIOption) (int, bool)
- func UiSelectWithContext(message, header string, options []UIOption) (int, bool)
- type Spinner
- type UIOption
Constants ¶
View Source
const ( Reset = "\x1b[0m" Bold = "\x1b[1m" Dim = "\x1b[38;5;243m" Text = "\x1b[38;5;159m" Cyan = "\x1b[36m" Yellow = "\x1b[33m" Green = "\x1b[32m" Red = "\x1b[31m" )
ANSI color/format constants (exported)
Variables ¶
This section is empty.
Functions ¶
func LogSuccess ¶
func LogSuccess(msg string)
func UiMultiselect ¶
func UiSearchMultiselect ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.