Documentation
¶
Index ¶
- func Bold(msg string) string
- func Confirm(message, expected string) (bool, error)
- func ConfirmYesNo(message string) (bool, error)
- func Error(msg string)
- func Info(msg string)
- func InputString(title, placeholder string) (string, error)
- func MultiSelect(title string, options []string) ([]string, error)
- func PrintTable(w io.Writer, headers []string, rows [][]string)
- func SelectString(title string, options []string) (string, error)
- func Step(msg string)
- func Success(msg string)
- func Warn(msg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmYesNo ¶
ConfirmYesNo asks a simple yes/no question.
func InputString ¶
InputString asks for a string input.
func MultiSelect ¶
MultiSelect presents a multi-select list.
func PrintTable ¶
PrintTable renders a table with the given headers and rows.
func SelectString ¶
SelectString presents a selection list.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.