diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 31ab7f4ca..53d1167ce 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -171,6 +171,8 @@ func (c *cli) init() error { } c.renderer.Tenant = c.tenant + cobra.EnableCommandSorting = false + }) // Determine what the desired output format is. diff --git a/internal/cli/root.go b/internal/cli/root.go index 07653f2a1..d66f35f52 100644 --- a/internal/cli/root.go +++ b/internal/cli/root.go @@ -56,11 +56,11 @@ func Execute() { rootCmd.AddCommand(loginCmd(cli)) rootCmd.AddCommand(clientsCmd(cli)) rootCmd.AddCommand(apisCmd(cli)) + rootCmd.AddCommand(tryLoginCmd(cli)) rootCmd.AddCommand(logsCmd(cli)) - rootCmd.AddCommand(actionsCmd(cli)) rootCmd.AddCommand(rulesCmd(cli)) + rootCmd.AddCommand(actionsCmd(cli)) rootCmd.AddCommand(connectionsCmd(cli)) - rootCmd.AddCommand(tryLoginCmd(cli)) rootCmd.AddCommand(completionCmd(cli)) // TODO(cyx): backport this later on using latest auth0/v5. diff --git a/internal/cli/try_login.go b/internal/cli/try_login.go index 350ac8271..1ce26d58d 100644 --- a/internal/cli/try_login.go +++ b/internal/cli/try_login.go @@ -31,7 +31,7 @@ func tryLoginCmd(cli *cli) *cobra.Command { cmd := &cobra.Command{ Use: "try-login", - Short: "Try out your universal login box", + Short: "try out your universal login box.", Long: `$ auth0 try-login Launch a browser to try out your universal login box for the given client. `,