gum
Verified for current stable LTS
Gum Command: Confirm Interactive Prompt
Use for confirm interactive prompt with Gum. Exact CLI syntax to confirm interactive prompt using Gum.
When to use this: Use for confirm interactive prompt with Gum.
Command Syntax
gum confirm "<Continue?>" --default=false --affirmative "<Yes>" --negative "<No>" <&& echo "Yes selected" || echo "No selected"> gum confirm "<Continue?>" --default=false --affirmative "<Yes>" --negative "<No>" <&& echo "Yes selected" || echo "No selected"> Command Breakdown
--default=false- Command Option
- Tool-specific option used by this command invocation.
--affirmative- Command Option
- Tool-specific option used by this command invocation.
--negative- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to confirm interactive prompt using Gum.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Gum Command: Choose Interactive Option
gum choose <"option1" "option2" "..."> Gum Command: Choose Option gum choose <"option1" "option2" "..."> Gum Command: Confirm Action gum confirm "<Continue?>" --default=false --affirmative "<Yes>" --negative "<No>" <&& echo "Yes selected" || echo "No selected"> Gum Command: Format Text With Emojis gum format -t <emoji> "{:smile: :heart: hello}" Gum Command: Input Interactive Prompt gum input --placeholder "<value>"