feat(completions): wire up key completions for key commands
This commit is contained in:
parent
84b1c67c72
commit
bc0b98c7f9
5 changed files with 32 additions and 25 deletions
|
|
@ -22,9 +22,10 @@ Binary values are presented as base64 for editing and decoded back on save.
|
|||
|
||||
Metadata flags (--ttl, --encrypt, --decrypt) can be passed alongside the edit
|
||||
to modify metadata in the same operation.`,
|
||||
Aliases: []string{"e"},
|
||||
Args: cobra.ExactArgs(1),
|
||||
RunE: edit,
|
||||
Aliases: []string{"e"},
|
||||
Args: cobra.ExactArgs(1),
|
||||
ValidArgsFunction: completeKeys,
|
||||
RunE: edit,
|
||||
SilenceUsage: true,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue