mirror of
https://github.com/charmbracelet/gum
synced 2024-05-23 08:32:21 +02:00
fix(README): Change .text
to .txt
This commit is contained in:
parent
86fa35d672
commit
1426c2fed9
18
README.md
18
README.md
|
@ -182,13 +182,13 @@ gum input
|
||||||
Prompt for input with a simple command.
|
Prompt for input with a simple command.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gum input > answer.text
|
gum input > answer.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Prompt for sensitive input with the `--password` flag.
|
Prompt for sensitive input with the `--password` flag.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gum input --password > password.text
|
gum input --password > password.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
<picture>
|
<picture>
|
||||||
|
@ -204,7 +204,7 @@ Prompt for some multi-line text.
|
||||||
Note: `CTRL+D` and `esc` are used to complete text entry. `CTRL+C` will cancel.
|
Note: `CTRL+D` and `esc` are used to complete text entry. `CTRL+C` will cancel.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gum write > story.text
|
gum write > story.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
<picture>
|
<picture>
|
||||||
|
@ -218,10 +218,10 @@ gum write > story.text
|
||||||
Use fuzzy matching to filter a list of values:
|
Use fuzzy matching to filter a list of values:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
echo Strawberry >> flavors.text
|
echo Strawberry >> flavors.txt
|
||||||
echo Banana >> flavors.text
|
echo Banana >> flavors.txt
|
||||||
echo Cherry >> flavors.text
|
echo Cherry >> flavors.txt
|
||||||
cat flavors.text | gum filter > selection.text
|
cat flavors.txt | gum filter > selection.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
<picture>
|
<picture>
|
||||||
|
@ -234,13 +234,13 @@ You can also select multiple items with the `--limit` flag, which determines
|
||||||
the maximum number of items that can be chosen.
|
the maximum number of items that can be chosen.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cat flavors.text | gum filter --limit 2
|
cat flavors.txt | gum filter --limit 2
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, allow any number of selections with the `--no-limit` flag.
|
Or, allow any number of selections with the `--no-limit` flag.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cat flavors.text | gum filter --no-limit
|
cat flavors.txt | gum filter --no-limit
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Choose
|
#### Choose
|
||||||
|
|
Loading…
Reference in a new issue