Hide default completion command
Signed-off-by: Jeremy Adams <jeremy.adams.pdx@gmail.com>
This commit is contained in:
@@ -45,6 +45,8 @@ func init() {
|
||||
project.Cmd,
|
||||
)
|
||||
|
||||
rootCmd.CompletionOptions.HiddenDefaultCmd = true
|
||||
|
||||
if err := viper.BindPFlags(rootCmd.PersistentFlags()); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user