mirror of
https://github.com/charmbracelet/gum
synced 2024-05-11 02:36:36 +02:00
docs(filter): document --no-limit / --limit flag on gum filter
This commit is contained in:
parent
25b5ebff5e
commit
9b0f5f015b
13
README.md
13
README.md
|
@ -228,6 +228,19 @@ cat flavors.text | gum filter > selection.text
|
|||
<img src="https://stuff.charm.sh/gum/filter.gif" alt="Shell running gum filter on different bubble gum flavors" />
|
||||
</picture>
|
||||
|
||||
You can also select multiple items with the `--limit` flag, which determines
|
||||
the maximum number of items that can be chosen.
|
||||
|
||||
```bash
|
||||
cat flavors.text | gum filter --limit 2
|
||||
```
|
||||
|
||||
Or, allow any number of selections with the `--no-limit` flag.
|
||||
|
||||
```bash
|
||||
cat flavors.text | gum filter --no-limit
|
||||
```
|
||||
|
||||
#### Choose
|
||||
|
||||
Choose an option from a list of choices.
|
||||
|
|
Loading…
Reference in a new issue