docs: document --password flag for gum input

This commit is contained in:
Maas Lalani 2022-08-02 20:54:16 -04:00
parent 910e365004
commit cdd7b7b6ba
No known key found for this signature in database
GPG key ID: 5A6ED5CBF1A0A000

View file

@ -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