package
1.34.1
Repository: https://github.com/aws/copilot-cli.git
Documentation: pkg.go.dev

# Functions

New returns a Prompt with default configuration.
RequireMinItems enforces at least min elements to be selected from MultiSelect.
RequireNonEmpty returns an error if v is a zero-value.
WithConfirmFinalMessage sets a short final message for to confirm the user's input.
WithDefaultInput sets a default message for an input prompt.
WithDefaultSelections selects the options to be checked by default for a multiselect prompt.
WithFinalMessage sets a final message that replaces the question prompt once the user enters an answer.
WithTrueDefault sets the default for a confirm prompt to true.

# Variables

ErrEmptyOptions indicates the input options list was empty.

# Structs

Option represents a choice with a hint for clarification.

# Type aliases

Prompt abstracts the survey.Askone function.
PromptConfig is a functional option to configure the prompt.
ValidatorFunc defines the function signature for validating inputs.