test(help): OK test cases

This commit is contained in:
Lewis Wynne 2025-11-20 14:40:10 +00:00
parent 2e50d4392f
commit 0ade5faec9
10 changed files with 320 additions and 0 deletions

36
testdata/help__list__ok.ct vendored Normal file
View file

@ -0,0 +1,36 @@
$ pda help list
$ pda list --help
List the contents of a db.
Usage:
pda list [DB] [flags]
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
List the contents of a db.
Usage:
pda list [DB] [flags]
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