@@ -146,16 +146,16 @@ func Execute() {
146146 cobra .EnableCommandSorting = false
147147
148148 _rootCmd .AddCommand (_deployCmd )
149- _rootCmd .AddCommand (_refreshCmd )
150149 _rootCmd .AddCommand (_getCmd )
151150 _rootCmd .AddCommand (_logsCmd )
151+ _rootCmd .AddCommand (_refreshCmd )
152152 _rootCmd .AddCommand (_predictCmd )
153153 _rootCmd .AddCommand (_deleteCmd )
154154
155155 _rootCmd .AddCommand (_clusterCmd )
156- _rootCmd .AddCommand (_versionCmd )
157156
158157 _rootCmd .AddCommand (_envCmd )
158+ _rootCmd .AddCommand (_versionCmd )
159159 _rootCmd .AddCommand (_completionCmd )
160160
161161 updateRootUsage ()
@@ -178,7 +178,7 @@ func updateRootUsage() {
178178 usage = strings .Replace (usage , "Usage:\n cortex [command]\n \n Aliases:\n cortex, cx\n \n " , "" , 1 )
179179 usage = strings .Replace (usage , "Available Commands:" , "api commands:" , 1 )
180180 usage = strings .Replace (usage , "\n cluster" , "\n \n cluster commands:\n cluster" , 1 )
181- usage = strings .Replace (usage , "\n configure " , "\n \n other commands:\n configure " , 1 )
181+ usage = strings .Replace (usage , "\n env " , "\n \n other commands:\n env " , 1 )
182182 usage = strings .Replace (usage , "\n \n Use \" cortex [command] --help\" for more information about a command." , "" , 1 )
183183
184184 cmd .Print (usage )
0 commit comments