feat(del): adds glob support for deletion
This commit is contained in:
parent
14897ba587
commit
badbf3b6bb
6 changed files with 145 additions and 19 deletions
10
testdata/del__glob__ok.ct
vendored
Normal file
10
testdata/del__glob__ok.ct
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
$ pda set a1 1
|
||||
$ pda set a2 2
|
||||
$ pda set b1 3
|
||||
$ pda del --glob a* --force
|
||||
$ pda get a1 --> FAIL
|
||||
Error: cannot get 'a1': Key not found
|
||||
$ pda get a2 --> FAIL
|
||||
Error: cannot get 'a2': Key not found
|
||||
$ pda get b1
|
||||
3
|
||||
Loading…
Add table
Add a link
Reference in a new issue