diff --git a/cmd/cmd.go b/cmd/cmd.go index ecbf00506..76134b64e 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -63,18 +63,20 @@ var generateCmd = &cobra.Command{ // Parent command - MTA info provider var provideCmd = &cobra.Command{ - Use: "provide", - Short: "MBT data provider", - Long: "MBT data provider", - Run: nil, + Use: "provide", + Short: "MBT data provider", + Long: "MBT data provider", + Hidden: true, + Run: nil, } // moduleCmd - Parent of all module commands var moduleCmd = &cobra.Command{ - Use: "module", - Short: "MBT module commands", - Long: "MBT module commands", - Run: nil, + Use: "module", + Short: "MBT module commands", + Long: "MBT module commands", + Hidden: true, + Run: nil, } // Cleanup temp artifacts @@ -90,6 +92,7 @@ var cleanupCmd = &cobra.Command{ return err }, SilenceUsage: true, + Hidden: true, SilenceErrors: true, } diff --git a/cmd/gen.go b/cmd/gen.go index f4b6a4893..5515c510d 100644 --- a/cmd/gen.go +++ b/cmd/gen.go @@ -80,6 +80,7 @@ var metaCmd = &cobra.Command{ logError(err) return err }, + Hidden: true, SilenceUsage: true, SilenceErrors: true, } @@ -95,6 +96,7 @@ var mtarCmd = &cobra.Command{ logError(err) return err }, + Hidden: true, SilenceUsage: true, SilenceErrors: true, } diff --git a/cmd/module.go b/cmd/module.go index 077edb70b..314694bdc 100644 --- a/cmd/module.go +++ b/cmd/module.go @@ -60,6 +60,7 @@ var buildModuleCmd = &cobra.Command{ logError(err) return err }, + Hidden: true, SilenceUsage: true, SilenceErrors: true, } @@ -78,6 +79,7 @@ var packModuleCmd = &cobra.Command{ logError(err) return err }, + Hidden: true, SilenceUsage: true, SilenceErrors: true, } diff --git a/cmd/provide.go b/cmd/provide.go index 954811858..d8128b34a 100644 --- a/cmd/provide.go +++ b/cmd/provide.go @@ -30,6 +30,7 @@ var provideModuleCmd = &cobra.Command{ logError(err) return err }, + Hidden: true, SilenceUsage: true, SilenceErrors: true, }