Skip to content

Commit

Permalink
move alizer command from gui to utility group (redhat-developer#5726)
Browse files Browse the repository at this point in the history
* move alizer command from gui to utility group

* fix help template
  • Loading branch information
kadel authored and cdrage committed Aug 31, 2022
1 parent 90ed522 commit eb471eb
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 @@ -72,6 +72,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 @@ -72,9 +72,6 @@ OpenShift Commands:{{range .Commands}}{{if eq .Annotations.command "openshift"}}
{{rpad .Name .NamePadding }} {{.Short}} {{end}}{{end}}
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:
Expand Down

0 comments on commit eb471eb

Please sign in to comment.