Documentation ¶
Index ¶
- Variables
- func All(funcs ...survey.Validator) survey.Validator
- func Ask(question string, validate survey.Validator) (string, error)
- func AskInt32(question string, validate survey.Validator) (int32, error)
- func AskMissingRequiredFlags(command *cobra.Command)
- func AskPath(question string, value string, validate survey.Validator) (string, error)
- func AskSecretWithHelp(question string, help string, validate survey.Validator) (string, error)
- func AskWithHelp(question string, help string, validate survey.Validator) (string, error)
- func AssertBetween(min int32, max int32) survey.Validator
- func AssertMinimumLength(length int) survey.Validator
- func Choose(question string, items []string) (int, string, error)
- func ChooseWithSize(size int, question string, items []string) (int, string, error)
- func Confirm(question string) (bool, error)
- func ConfirmWithHelp(question string, help string) (bool, error)
- func Lowercase() survey.Validator
- type Input
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AskMissingRequiredFlags ¶
func AskSecretWithHelp ¶
func AskWithHelp ¶ added in v0.14.1
func AssertBetween ¶
func AssertMinimumLength ¶
func AssertMinimumLength(length int) survey.Validator
func ChooseWithSize ¶
func ConfirmWithHelp ¶ added in v0.14.1
Types ¶
type Input ¶ added in v0.14.1
type Input struct { survey.Input // contains filtered or unexported fields }
func (*Input) SetValidate ¶ added in v0.14.1
Click to show internal directories.
Click to hide internal directories.