feat: adds --readonly and --pin flags, and displays Size column in list by default
This commit is contained in:
parent
e5b6dcd187
commit
5bcd3581dd
46 changed files with 711 additions and 177 deletions
6
testdata/help-set.ct
vendored
6
testdata/help-set.ct
vendored
|
|
@ -23,8 +23,11 @@ Aliases:
|
|||
Flags:
|
||||
-e, --encrypt encrypt the value at rest using age
|
||||
-f, --file string read value from a file
|
||||
--force bypass read-only protection
|
||||
-h, --help help for set
|
||||
-i, --interactive prompt before overwriting an existing key
|
||||
--pin pin the key (sorts to top in list)
|
||||
--readonly mark the key as read-only
|
||||
--safe do not overwrite if the key already exists
|
||||
-t, --ttl duration expire the key after the provided duration (e.g. 24h, 30m)
|
||||
Set a key to a given value or stdin. Optionally specify a store.
|
||||
|
|
@ -50,7 +53,10 @@ Aliases:
|
|||
Flags:
|
||||
-e, --encrypt encrypt the value at rest using age
|
||||
-f, --file string read value from a file
|
||||
--force bypass read-only protection
|
||||
-h, --help help for set
|
||||
-i, --interactive prompt before overwriting an existing key
|
||||
--pin pin the key (sorts to top in list)
|
||||
--readonly mark the key as read-only
|
||||
--safe do not overwrite if the key already exists
|
||||
-t, --ttl duration expire the key after the provided duration (e.g. 24h, 30m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue