feat: splits --glob into --key and --value searches
This commit is contained in:
parent
1f4732823d
commit
5145816b0a
22 changed files with 275 additions and 188 deletions
8
testdata/dump__key__ok.ct
vendored
Normal file
8
testdata/dump__key__ok.ct
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
$ pda set a1 1
|
||||
$ pda set a2 2
|
||||
$ pda set b1 3
|
||||
$ pda dump --key "a*"
|
||||
{"key":"a1","value":"1","encoding":"text"}
|
||||
{"key":"a2","value":"2","encoding":"text"}
|
||||
$ pda dump --key "c*" --> FAIL
|
||||
FAIL cannot ls '@default': no matches for key pattern 'c*'
|
||||
Loading…
Add table
Add a link
Reference in a new issue