package
0.0.7
Repository: https://github.com/aliyun/saml2alibabacloud.git
Documentation: pkg.go.dev

# Functions

Choose given the choice return the option selected.
ChooseWithDefault given the choice return the option selected with a default.
Display prompt, no user input required.
NewCli builds a new cli prompter.
NewPinentryPrompter is a factory for PinentryPrompter.
NewRealPinentryRunner is a factory for RealPinentryRunner.
ParseResults parses the standard output of the pinentry command and determine the user input, or wheter the program yielded any error.
Password prompt for password which is required.
RequestSecurityCode request a security code to be entered by the user.
SetOutputWriter sets the output writer to use for all survey operations.
SetPrompter configure an aternate prompter to the default one.
String prompt for string which is required.
StringRequired prompt for string which is required.
ValidateAndSetPrompter validates the user configuration and will create a concrete prompter based on this configuration.

# Variables

ActivePrompter is by default the survey cli prompter.

# Structs

CliPrompter used to prompt for cli input.
PinentryPrompter is a concrete implementation of the Prompter interface.
RealPinentryRunner is the concrete implementation of PinentryRunner.

# Interfaces

PinentryRunner is the interface for pinentry to run itself.
Prompter handles prompting user for input.