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
10
testdata/remove__key__mixed__ok.ct
vendored
Normal file
10
testdata/remove__key__mixed__ok.ct
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
$ pda set foo 1
|
||||
$ pda set bar1 2
|
||||
$ pda set bar2 3
|
||||
$ pda rm foo --key "bar*"
|
||||
$ pda get foo --> FAIL
|
||||
FAIL cannot get 'foo': no such key
|
||||
$ pda get bar1 --> FAIL
|
||||
FAIL cannot get 'bar1': no such key
|
||||
$ pda get bar2 --> FAIL
|
||||
FAIL cannot get 'bar2': no such key
|
||||
Loading…
Add table
Add a link
Reference in a new issue