docs(filter): document --no-limit / --limit flag on gum filter

This commit is contained in:
Maas Lalani 2022-09-30 13:34:21 -04:00
parent 25b5ebff5e
commit 9b0f5f015b
No known key found for this signature in database
GPG key ID: 5A6ED5CBF1A0A000

View file

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