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

# Functions

New returns a Prompt with default configuration.
RequireNonEmpty returns an error if v is a zero-value.
WithDefaultInput sets a default message for an input 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.

# Type aliases

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