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
2
testdata/help-list.ct
vendored
2
testdata/help-list.ct
vendored
|
|
@ -10,6 +10,7 @@ Aliases:
|
|||
|
||||
Flags:
|
||||
-b, --base64 view binary data as base64
|
||||
-c, --count print only the count of matching entries
|
||||
-o, --format format output format (table|tsv|csv|markdown|html|ndjson) (default table)
|
||||
-f, --full show full values without truncation
|
||||
-h, --help help for list
|
||||
|
|
@ -29,6 +30,7 @@ Aliases:
|
|||
|
||||
Flags:
|
||||
-b, --base64 view binary data as base64
|
||||
-c, --count print only the count of matching entries
|
||||
-o, --format format output format (table|tsv|csv|markdown|html|ndjson) (default table)
|
||||
-f, --full show full values without truncation
|
||||
-h, --help help for list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue