Skip to content

Commit

Permalink
wip4
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught committed Apr 16, 2023
1 parent c82432e commit 8725890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions internal/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ type cli struct {
// 1. A tenant is found.
// 2. The tenant has an access token.
func (c *cli) setup(ctx context.Context) error {
cobra.EnableCommandSorting = false

if err := c.initializeAndValidateConfig(); err != nil {
return err
}
Expand Down
2 changes: 0 additions & 2 deletions internal/cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ func addPersistentFlags(rootCmd *cobra.Command, cli *cli) {
}

func addSubCommands(rootCmd *cobra.Command, cli *cli) {
cobra.EnableCommandSorting = false

// The order of the commands here matters.
// Add new commands in a place that reflect its
// relevance or relation with other commands:
Expand Down

0 comments on commit 8725890

Please sign in to comment.