feat(list): adds --count flag for returning a count of matches
This commit is contained in:
parent
e04bcfb306
commit
ad98a1e6c4
4 changed files with 24 additions and 0 deletions
|
|
@ -206,6 +206,12 @@ pda ls --format csv
|
|||
# dogs,four legged mammals,no expiry
|
||||
|
||||
# Or TSV, or Markdown, or HTML.
|
||||
|
||||
# Just the count of entries.
|
||||
pda ls --count
|
||||
# 2
|
||||
pda ls --count --key "d*"
|
||||
# 1
|
||||
```
|
||||
|
||||
<p align="center"></p><!-- spacer -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue