feat(globs): glob support extended to ls and documented in README

This commit is contained in:
Lewis Wynne 2025-12-17 19:40:05 +00:00
parent badbf3b6bb
commit 95c9ac8fca
8 changed files with 316 additions and 74 deletions

View file

@ -9,14 +9,16 @@ Aliases:
list, ls
Flags:
-b, --binary include binary data in text output
-o, --format format output format (table|tsv|csv|markdown|html) (default table)
--header include header row
-h, --help help for list
--no-keys suppress the key column
--no-values suppress the value column
-S, --secret display values marked as secret
-t, --ttl append a TTL column when entries expire
-b, --binary include binary data in text output
-o, --format format output format (table|tsv|csv|markdown|html) (default table)
-g, --glob strings Filter keys with glob pattern (repeatable)
--glob-sep string Characters treated as separators for globbing (default "/-_.@: ")
--header include header row
-h, --help help for list
--no-keys suppress the key column
--no-values suppress the value column
-S, --secret display values marked as secret
-t, --ttl append a TTL column when entries expire
List the contents of a db.
Usage:
@ -26,11 +28,13 @@ Aliases:
list, ls
Flags:
-b, --binary include binary data in text output
-o, --format format output format (table|tsv|csv|markdown|html) (default table)
--header include header row
-h, --help help for list
--no-keys suppress the key column
--no-values suppress the value column
-S, --secret display values marked as secret
-t, --ttl append a TTL column when entries expire
-b, --binary include binary data in text output
-o, --format format output format (table|tsv|csv|markdown|html) (default table)
-g, --glob strings Filter keys with glob pattern (repeatable)
--glob-sep string Characters treated as separators for globbing (default "/-_.@: ")
--header include header row
-h, --help help for list
--no-keys suppress the key column
--no-values suppress the value column
-S, --secret display values marked as secret
-t, --ttl append a TTL column when entries expire