Documentation ¶
Overview ¶
Package promptui provides interactive prompts for command-line applications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmQuit ¶
func ConfirmQuit() bool
ConfirmQuit reads user input to determine whether to quit.
func Read ¶
func Read(label string, validateFunc promptui.ValidateFunc) (string, error)
Read reads from standard input, specifies the label, the validateFunc, and returns the string.
func WithMinLength ¶
func WithMinLength(minlen int) promptui.ValidateFunc
WithMinLength limits the minimum input length.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.