Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Default bool `help:"Default confirmation action" default:"true"` Affirmative string `help:"The title of the affirmative action" default:"Yes"` Negative string `help:"The title of the negative action" default:"No"` Prompt string `arg:"" help:"Prompt to display." default:"Are you sure?"` //nolint:staticcheck PromptStyle style.Styles `` /* 171-byte string literal not displayed */ //nolint:staticcheck SelectedStyle style.Styles `` /* 206-byte string literal not displayed */ //nolint:staticcheck UnselectedStyle style.Styles `` /* 212-byte string literal not displayed */ ShowHelp bool `help:"Show help key binds" negatable:"" default:"true" env:"GUM_CONFIRM_SHOW_HELP"` Timeout time.Duration `help:"Timeout until confirm returns selected value or default if provided" default:"0s" env:"GUM_CONFIRM_TIMEOUT"` }
Options is the customization options for the confirm command.
Click to show internal directories.
Click to hide internal directories.