Fix CLI namespace commands (#8315)

* Fix namespace commands help

* Fix useless prediction for namespace commands

* Add namespace prediction capability
This commit is contained in:
Daniel Spangenberg
2020-02-09 19:38:39 +01:00
committed by GitHub
parent 9b1e144985
commit 75461a6522
5 changed files with 49 additions and 10 deletions

View File

@@ -45,7 +45,7 @@ func (c *NamespaceCreateCommand) Flags() *FlagSets {
}
func (c *NamespaceCreateCommand) AutocompleteArgs() complete.Predictor {
return c.PredictVaultFolders()
return complete.PredictNothing
}
func (c *NamespaceCreateCommand) AutocompleteFlags() complete.Flags {