feat: makes ls list all stores by default, with config option to disable. adds --store glob support
This commit is contained in:
parent
b6248e409f
commit
55b2e7f6cb
35 changed files with 487 additions and 177 deletions
22
testdata/help-import.ct
vendored
22
testdata/help-import.ct
vendored
|
|
@ -6,19 +6,21 @@ Usage:
|
|||
pda import [STORE] [flags]
|
||||
|
||||
Flags:
|
||||
--drop drop existing entries before restoring (full replace)
|
||||
-f, --file string path to an NDJSON dump (defaults to stdin)
|
||||
-h, --help help for import
|
||||
-i, --interactive prompt before overwriting existing keys
|
||||
-k, --key strings restore keys matching glob pattern (repeatable)
|
||||
--drop drop existing entries before restoring (full replace)
|
||||
-f, --file string path to an NDJSON dump (defaults to stdin)
|
||||
-h, --help help for import
|
||||
-i, --interactive prompt before overwriting existing keys
|
||||
-k, --key strings restore keys matching glob pattern (repeatable)
|
||||
-s, --store strings restore entries from stores matching glob pattern (repeatable)
|
||||
Restore key/value pairs from an NDJSON dump
|
||||
|
||||
Usage:
|
||||
pda import [STORE] [flags]
|
||||
|
||||
Flags:
|
||||
--drop drop existing entries before restoring (full replace)
|
||||
-f, --file string path to an NDJSON dump (defaults to stdin)
|
||||
-h, --help help for import
|
||||
-i, --interactive prompt before overwriting existing keys
|
||||
-k, --key strings restore keys matching glob pattern (repeatable)
|
||||
--drop drop existing entries before restoring (full replace)
|
||||
-f, --file string path to an NDJSON dump (defaults to stdin)
|
||||
-h, --help help for import
|
||||
-i, --interactive prompt before overwriting existing keys
|
||||
-k, --key strings restore keys matching glob pattern (repeatable)
|
||||
-s, --store strings restore entries from stores matching glob pattern (repeatable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue