diff --git a/pkg/commands/install/homebrew/homebrew.go b/pkg/commands/install/homebrew/homebrew.go index 69b1b20..d8c6b78 100644 --- a/pkg/commands/install/homebrew/homebrew.go +++ b/pkg/commands/install/homebrew/homebrew.go @@ -22,9 +22,11 @@ func NewCmdHomeBrew(iostream *iostreams.IOStreams) *cobra.Command { Use: "install homebrew", Short: cs.GreenBold("Install homebrew, require admin privileges, make sure enable this via privileges app"), // Long: actionsExplainer(cs), - //GroupID: "install", Hidden: true, SilenceErrors: true, + Annotations: map[string]string{ + "group": "install", + }, RunE: func(cmd *cobra.Command, args []string) error { if IsHomebrewInstalled() { fmt.Println("Homebrew is installed.") diff --git a/pkg/commands/install/install.go b/pkg/commands/install/install.go index fa98168..f6ef96e 100644 --- a/pkg/commands/install/install.go +++ b/pkg/commands/install/install.go @@ -16,6 +16,9 @@ func NewInstallCmd(iostream *iostreams.IOStreams) *cobra.Command { Use: "install", Short: "Install software", Long: `All software installation commands.`, + Annotations: map[string]string{ + "group": "install", + }, RunE: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { // No specific subcommand was provided fmt.Fprintln(iostream.Out, cs.GreenBold("Running all installation subcommands...")) diff --git a/pkg/commands/install/xcode/xcode.go b/pkg/commands/install/xcode/xcode.go index 0740a05..65be184 100644 --- a/pkg/commands/install/xcode/xcode.go +++ b/pkg/commands/install/xcode/xcode.go @@ -21,7 +21,9 @@ func NewCmdXcode(iostream *iostreams.IOStreams) *cobra.Command { Short: cs.GreenBold("Install xcode"), // Long: actionsExplainer(cs), Hidden: true, - //GroupID: "install", + Annotations: map[string]string{ + "group": "install", + }, SilenceErrors: true, RunE: func(cmd *cobra.Command, args []string) error { if isXcodeAlreadyInstalled() {