Documentation ¶
Index ¶
- Variables
- func AskMultiline(response interface{}, name, question string, defaultVal string) error
- func AskQuestionWithInput(response interface{}, name, question, defaultVal string, isRequired bool) error
- func MultiSelect(response interface{}, name, question string, options []string, ...) error
- func Select(response interface{}, name string, question string, options []string, ...) error
- func SelectOne(response interface{}, question string, options []string, opts ...survey.AskOpt) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Ask = survey.Ask
View Source
var AskOne = survey.AskOne
View Source
var Confirm = func(result *bool, prompt string, defaultVal bool) error {
p := &survey.Confirm{
Message: prompt,
Default: defaultVal,
}
return survey.AskOne(p, result)
}
Functions ¶
func AskMultiline ¶
func AskQuestionWithInput ¶
func MultiSelect ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.