Disable completions

This commit is contained in:
Miguel de la Cruz 2021-09-13 11:42:17 +02:00
parent 40ae6b666f
commit d5a297cb86

View file

@ -10,6 +10,8 @@ func RootCmd() *cobra.Command {
Short: "Webapp to play RPG games and manage their assets", Short: "Webapp to play RPG games and manage their assets",
} }
cmd.CompletionOptions.DisableDefaultCmd = true
cmd.PersistentFlags().StringP("config", "c", "craban.yml", "path to the configuration file") cmd.PersistentFlags().StringP("config", "c", "craban.yml", "path to the configuration file")
cmd.AddCommand( cmd.AddCommand(