Documentation
¶
Index ¶
- func Confirm(initialPrompt string) bool
- func ConfirmSecureSession(warning string) bool
- func ConfirmWithIAgree(initialPrompt string) bool
- func Prompt(initialPrompt string, expectedFormat string, incorrectFormatPrompt string) string
- func PromptPassword(initialPrompt string, expectedFormat string, incorrectFormatPrompt string) string
- func Select(initialPrompt string, options []string) (int, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmSecureSession ¶
Prompts the user to verify that there is nobody looking over their shoulder before printing sensitive information.
func ConfirmWithIAgree ¶
Prompt for 'I agree' confirmation (used on important questions to avoid a quick 'y' response from the user)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.