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
11
testdata/remove__key__ok.ct
vendored
Normal file
11
testdata/remove__key__ok.ct
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
$ pda set a1 1
|
||||
$ pda set a2 2
|
||||
$ pda set b1 3
|
||||
$ pda rm --key "a*"
|
||||
$ pda get a1 --> FAIL
|
||||
FAIL cannot get 'a1': no such key
|
||||
hint did you mean 'b1'?
|
||||
$ pda get a2 --> FAIL
|
||||
FAIL cannot get 'a2': no such key
|
||||
$ pda get b1
|
||||
3
|
||||
Loading…
Add table
Add a link
Reference in a new issue