# Functions
No description provided by the author
No description provided by the author
GetPromptParams returns the params for the given prompt ops.
IsTerminal returns true if the stream is a terminal.
MatchAny is a matcher that matches any prompt.
MatchConfirm returns a matcher that matches confirm prompts.
MatchInput returns a matcher that matches input prompts.
MatchMultiSelect returns a matcher that matches multi-select prompts.
MatchSelect returns a matcher that matches select prompts.
No description provided by the author
NewIOStreams returns the default IOStreams containing os.Stdin, os.Stdout, and os.Stderr.
No description provided by the author
No description provided by the author
No description provided by the author
NewTestIOStreams returns an IOStreams with mock in/out/err values for testing.
NewUserInterface returns a new UserInterface.
RespondBool creates a responder that returns the given bool.
RespondDefault creates a responder that returns the prompt's default value.
RespondError creates a responder that returns the given error.
RespondString creates a responder that returns the given string.
RespondStringSlice creates a responder that returns the given slice of strings.
WithHelp sets the help text for a prompt.
WithValidation sets the validation rules for a prompt.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Formatter wraps strings in ANSI escape sequences.
Container for the three main CLI I/O streams.
No description provided by the author
No description provided by the author
PromptParams holds optional params for Prompter methods.
Stub is a stubbed Prompter invocation.
StubPrompter is an implementation of Prompter that invokes stubbed prompts.
SurveyPrompter is a light wrapper around the [survey](https://github.com/go-survey/survey) library.
UserInterface is a high level abstraction for rendering terminal UIs.
# Type aliases
Matcher is function that matches prompts.
PromptOpt allows setting optional prompt params.
No description provided by the author
Responder is a function that returns stubbed prompt responses.