Documentation
¶
Index ¶
- func Confirm(fmtStr string, args ...any) bool
- func ConfirmRed(fmtStr string, args ...any) bool
- func ConfirmSecureSession(warning string) bool
- func ConfirmWithIAgree(fmtStr string, args ...any) bool
- func ConfirmYellow(fmtStr string, args ...any) 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 ConfirmRed ¶ added in v1.20.0
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)
func ConfirmYellow ¶ added in v1.20.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.