# Packages
No description provided by the author
# Functions
Ask prints out the question and reads the first line of input.
AskAndValidate asks the user a question and re-prompts the configured amount of times when the users answer does not validate.
AskMultiline prints out the question and reads back the input until an EOF is reached.
AskPassphrase asks for a password and then asks to type it again for confirmation.
AskSecret prints out the question and reads back the input, without echoing it back.
AskWithDefault prints out the question and reads the first line of input.
AskYesNo asks the user for confirmation.
Choose gives the user the provided options asks them to choose one.
No description provided by the author
No description provided by the author
ConfirmCaseInsensitive asks the user to confirm by typing one of the expected strings.
EOFKey returns the key that should be pressed to enter an EOF.
NewUserIO creates a new ttyIO if a TTY is available, otherwise it returns a standardIO.
Readln reads 1 line of input from a io.Reader.
# Constants
DefaultNo assumes no as the default answer [y/N].
DefaultNone assumes no default [y/n].
DefaultYes assumes yes as the default answer [Y/n].
# Variables
ErrCannotAsk occurs when prompting for input is impossible.
Errors.
Errors.
# Interfaces
IO is an interface to work with input/output.
# Type aliases
ConfirmationType defines what AskYesNo uses as the default answer.