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
2
testdata/help-get.ct
vendored
2
testdata/help-get.ct
vendored
|
|
@ -17,6 +17,7 @@ Aliases:
|
|||
|
||||
Flags:
|
||||
-b, --base64 view binary data as base64
|
||||
--exists exit 0 if the key exists, exit 1 if not (no output)
|
||||
-h, --help help for get
|
||||
--no-template directly output template syntax
|
||||
-c, --run execute the result as a shell command
|
||||
|
|
@ -37,6 +38,7 @@ Aliases:
|
|||
|
||||
Flags:
|
||||
-b, --base64 view binary data as base64
|
||||
--exists exit 0 if the key exists, exit 1 if not (no output)
|
||||
-h, --help help for get
|
||||
--no-template directly output template syntax
|
||||
-c, --run execute the result as a shell command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue