Documentation ¶
Index ¶
- func AskBooleanQuestion(message string, storage *bool, defaultValue bool, opts ...survey.AskOpt) error
- func AskCommaSeparatedInputQuestion(message string, storage *[]string, defaultValues []string, ...) error
- func AskInputQuestion(message string, storage *string, defaultValue string, opts ...survey.AskOpt) error
- func AskInputQuestionWithSuggestion(message string, storage *string, defaultValue string, ...) error
- func AskMultiSelectQuestion(message string, defaultValues []string, storage *[]string, options []string, ...) error
- func AskSelectQuestion(message string, storage *string, options []string, defaultValue string, ...) error
- type StringSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskBooleanQuestion ¶ added in v1.3.0
func AskInputQuestion ¶
func AskInputQuestionWithSuggestion ¶ added in v1.3.0
func AskMultiSelectQuestion ¶ added in v1.3.0
Types ¶
type StringSlice ¶
type StringSlice struct {
// contains filtered or unexported fields
}
https://github.com/AlecAivazis/survey#custom-types
func (*StringSlice) WriteAnswer ¶
func (my *StringSlice) WriteAnswer(name string, value interface{}) error
Click to show internal directories.
Click to hide internal directories.