feat(get): adds --exists flag for checking existence of a key
This commit is contained in:
parent
ad98a1e6c4
commit
6e1af5ba28
4 changed files with 18 additions and 0 deletions
3
testdata/get-exists.ct
vendored
Normal file
3
testdata/get-exists.ct
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$ pda set found@ge "hello"
|
||||
$ pda get found@ge --exists
|
||||
$ pda get missing@ge --exists --> FAIL
|
||||
Loading…
Add table
Add a link
Reference in a new issue