fix(README): Change .text to .txt

This commit is contained in:
Caeden 2022-10-08 12:54:41 +01:00 committed by Maas Lalani
parent 86fa35d672
commit 1426c2fed9

View file

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