Documentation
¶
Index ¶
- func RunPrompt(message string, validateFunc func(string) error, rc io.ReadCloser) (string, error)
- func RunPromptConfirm(message string, rc io.ReadCloser) (bool, error)
- func RunPromptSecret(message string, validateFunc func(string) error, rc io.ReadCloser) (string, error)
- func RunPromptSelect(message string, items []string, rc io.ReadCloser) (selection string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunPromptConfirm ¶
func RunPromptConfirm(message string, rc io.ReadCloser) (bool, error)
func RunPromptSecret ¶ added in v0.8.0
func RunPromptSecret(message string, validateFunc func(string) error, rc io.ReadCloser) (string, error)
RunPromptSecret behaves like RunPrompt but uses a masked input and submit-only validation, minimizing prompt label re-renders common with promptui during live validation.
func RunPromptSelect ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.