Documentation
¶
Overview ¶
Package confirm provides confirmation prompts for destructive operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prompter ¶
Prompter handles confirmation prompts.
func (*Prompter) Confirm ¶
Confirm displays a confirmation prompt and returns true if the user confirms. If skipConfirm is true, returns true without prompting.
func (*Prompter) ConfirmAction ¶
ConfirmAction is a convenience function for confirming an action.
Click to show internal directories.
Click to hide internal directories.