mirror of
https://github.com/charmbracelet/gum
synced 2024-05-16 05:07:13 +02:00
docs: document --password flag for gum input
This commit is contained in:
parent
910e365004
commit
cdd7b7b6ba
|
@ -156,6 +156,12 @@ Prompt for input with a simple command.
|
|||
gum input > answer.text
|
||||
```
|
||||
|
||||
Prompt for sensitive input with the `--password` flag.
|
||||
|
||||
```bash
|
||||
gum input --password > password.text
|
||||
```
|
||||
|
||||
<img src="https://stuff.charm.sh/gum/input_1.gif" width="600" alt="Shell running gum input typing Not much, you?" />
|
||||
|
||||
#### Write
|
||||
|
|
Loading…
Reference in a new issue