Closed depau closed 4 months ago
Actually, just after submitting the issue, I realized that running gum confirm --default=false
does work. I previously only tried --default false
, which just sets Default
to true
and uses false
as the prompt.
I'd suggest improving the help message to clarify the usage.
Describe the bug
gum confirm
does not have a way to default to "no". The--default
option seems to be intended to allow that, but it does nothing since it defaults totrue
and providing it sets it totrue
.To Reproduce Steps to reproduce the behavior:
gum confirm --help
Expected behavior I'd expect there to be a way to start with "No" selected.
Desktop (please complete the following information):