Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfirmation ¶
GetConfirmation ensures that the user confirms the action before proceeding.
Types ¶
type ConfirmOptions ¶
type ConfirmOptions struct { Confirm bool // contains filtered or unexported fields }
func NewConfirmOptions ¶
func NewConfirmOptions() *ConfirmOptions
func NewConfirmOptionsWithDescription ¶
func NewConfirmOptionsWithDescription(desc string) *ConfirmOptions
func (*ConfirmOptions) BindFlags ¶
func (o *ConfirmOptions) BindFlags(flags *pflag.FlagSet)
Bind confirm flags.
Click to show internal directories.
Click to hide internal directories.