From 780e2ab5166ed23ac0e4d944c96cd2104ca3d9ce Mon Sep 17 00:00:00 2001 From: Rita Zerrizuela Date: Fri, 9 Apr 2021 19:44:11 -0300 Subject: [PATCH] Move the `quickstarts` command below `apis` (#246) * Reorder commands * Update Readme snippet --- README.md | 2 +- internal/cli/apps.go | 2 +- internal/cli/root.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c944679d9..59ef022d7 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ $ auth0 apps create Callback URLs: http://localhost:3000 Allowed Logout URLs: http://localhost:3000 -=== travel0 application created +=== travel0.auth0.com application created CLIENT ID wmVzrZkGhKgglMRMvpauORCulBkQ5qeI NAME My Awesome App diff --git a/internal/cli/apps.go b/internal/cli/apps.go index 882ac2bd1..758e8f40d 100644 --- a/internal/cli/apps.go +++ b/internal/cli/apps.go @@ -122,12 +122,12 @@ func appsCmd(cli *cli) *cobra.Command { } cmd.SetUsageTemplate(resourceUsageTemplate()) + cmd.AddCommand(useAppCmd(cli)) cmd.AddCommand(listAppsCmd(cli)) cmd.AddCommand(createAppCmd(cli)) cmd.AddCommand(showAppCmd(cli)) cmd.AddCommand(updateAppCmd(cli)) cmd.AddCommand(deleteAppCmd(cli)) - cmd.AddCommand(useAppCmd(cli)) return cmd } diff --git a/internal/cli/root.go b/internal/cli/root.go index 1b5ae10bc..5cef67cdf 100644 --- a/internal/cli/root.go +++ b/internal/cli/root.go @@ -88,8 +88,8 @@ func Execute() { rootCmd.AddCommand(tenantsCmd(cli)) rootCmd.AddCommand(appsCmd(cli)) rootCmd.AddCommand(rulesCmd(cli)) - rootCmd.AddCommand(quickstartsCmd(cli)) rootCmd.AddCommand(apisCmd(cli)) + rootCmd.AddCommand(quickstartsCmd(cli)) rootCmd.AddCommand(testCmd(cli)) rootCmd.AddCommand(logsCmd(cli)) rootCmd.AddCommand(logoutCmd(cli))