Hide default completion command

Signed-off-by: Jeremy Adams <jeremy.adams.pdx@gmail.com>
This commit is contained in:
Jeremy Adams
2022-03-09 19:57:48 -08:00
parent 80850e1e00
commit 5c0ce279b6
3 changed files with 147 additions and 23 deletions

View File

@@ -45,6 +45,8 @@ func init() {
project.Cmd,
)
rootCmd.CompletionOptions.HiddenDefaultCmd = true
if err := viper.BindPFlags(rootCmd.PersistentFlags()); err != nil {
panic(err)
}