Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStdInPassword ¶
Types ¶
type Prompter ¶
type Prompter interface {
Select(prompt string, options []string) (string, error)
InputString(prompt, defValue, help string, validator func(string) error) (string, error)
InputInteger(prompt, defValue, help string, validator func(int64) error) (int64, error)
Confirm(prompt string) (bool, error)
InputHiddenString(prompt, help string, validator func(string) error) (string, error)
}
Prompter is an interface for prompting the user for input.
Click to show internal directories.
Click to hide internal directories.