Documentation ¶
Index ¶
- func ChooseMultiStrings(question string, options []string) (results []string, err error)
- func ChooseOneString(question string, options []string) (result string, err error)
- func Confirm(question string, defaultValue bool) (result bool, err error)
- func ConfirmNoDefault(question string) (result bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChooseMultiStrings ¶
ChooseMultiStrings queries the user to choose from a list of strings allowing multiple selection
func ChooseOneString ¶
ChooseOneString queries the user to choose one string from a list of strings
func Confirm ¶
Confirm allows querying for confirmation with a default value that is used when no answer is typed.
func ConfirmNoDefault ¶ added in v2.3.0
ConfirmNoDefault allows querying for confirmation without a default value, so the user needs to answer the question explicitly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.