mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
Make key completion work for both kv-v1 and kv-v2 (#16553)
Co-authored-by: Kieron Browne <kbrowne@vmware.com> Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com> Co-authored-by: Danail Branekov <danailster@gmail.com>
This commit is contained in:
@@ -80,7 +80,7 @@ func (c *KVGetCommand) Flags() *FlagSets {
|
||||
}
|
||||
|
||||
func (c *KVGetCommand) AutocompleteArgs() complete.Predictor {
|
||||
return nil
|
||||
return c.PredictVaultFiles()
|
||||
}
|
||||
|
||||
func (c *KVGetCommand) AutocompleteFlags() complete.Flags {
|
||||
|
||||
Reference in New Issue
Block a user