Skip to content

Commit

Permalink
move alizer command from gui to utility group
Browse files Browse the repository at this point in the history
  • Loading branch information
kadel committed May 10, 2022
1 parent 0eee32d commit 5f44212
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/odo/cli/alizer/alizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ func NewCmdAlizer(name, fullName string) *cobra.Command {
clientset.Add(alizerCmd, clientset.ALIZER)
machineoutput.UsedByCommand(alizerCmd)
alizerCmd.SetUsageTemplate(odoutil.CmdUsageTemplate)
alizerCmd.Annotations["command"] = "gui"
alizerCmd.Annotations["command"] = "utility"
return alizerCmd
}
3 changes: 0 additions & 3 deletions pkg/odo/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ OpenShift Commands:{{range .Commands}}{{if eq .Annotations.command "openshift"}}
Utility Commands:{{range .Commands}}{{if eq .Annotations.command "utility" }}
{{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}}
GUI Commands:{{range .Commands}}{{if or (eq .Annotations.command "gui") }}
{{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}}{{end}}{{ if .HasAvailableLocalFlags}}
Flags:
{{CapitalizeFlagDescriptions .LocalFlags | trimRightSpace }}{{end}}{{ if .HasAvailableInheritedFlags}}
Expand Down

0 comments on commit 5f44212

Please sign in to comment.