diff --git a/cmd/profiles.go b/cmd/profiles.go index 7059cfe..7c4294f 100644 --- a/cmd/profiles.go +++ b/cmd/profiles.go @@ -8,3 +8,7 @@ var profilesCmd = &cobra.Command{ }, } + +func init() { + rootCmd.AddCommand(profilesCmd) +} diff --git a/cmd/run.go b/cmd/run.go index 3f7aeff..369700c 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -3,8 +3,13 @@ package cmd import "github.com/spf13/cobra" var runCmd = &cobra.Command{ - Use: "run", + Use: "run", + Short: "Run the configurator locally", Run: func(cmd *cobra.Command, args []string) { }, } + +func init() { + rootCmd.AddCommand(runCmd) +}