-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort list output by account alias #466
Comments
Are you okay with sorting by the first column? You can always override/select the fields and their order on the CLI or via the config file |
Also, thoughts on how to sort when dealing with different cases? Basically is |
Yeah, that's what I was started doing -- still need to remember to
I'm fine with either -- I saw a minor thing: the account number is parsing to a number, so drops the leading 0. Not a huge deal, but caught my eye. |
Add `--sort` and `--reverse` to the `list` command to enable sorting by any available field and reverse sorting. Sorting always happens alphabetically and is case-sensitive. AccountIds are also now always presented with leading zeros as appropriate now. Fixes #466
Add `--sort` and `--reverse` to the `list` command to enable sorting by any available field and reverse sorting. Sorting always happens alphabetically and is case-sensitive. AccountIds are also now always presented with leading zeros as appropriate now. Improve unit tests for AccountId's with a leading zero Fixes #466
Add `--sort` and `--reverse` to the `list` command to enable sorting by any available field and reverse sorting. Sorting always happens alphabetically and is case-sensitive. AccountIds are also now always presented with leading zeros as appropriate now. Improve unit tests for AccountId's with a leading zero Fixes #466
Add `--sort` and `--reverse` to the `list` command to enable sorting by any available field and reverse sorting. Sorting always happens alphabetically and is case-sensitive. AccountIds are also now always presented with leading zeros as appropriate now. Improve unit tests for AccountId's with a leading zero Fixes #466
Is your feature request related to a problem? Please describe.
The browser shows the accounts sorted by
AccountName
, which is useful when we have<team/app account>-<environment>
pattern. Unfortunately theaws-sso-cli
sorts byAccountNumber
, making accounts separate from each other when listing, making a bit difficult to find.Describe the solution you'd like
An option to sort the list output by other values, like
AccountAlias
, which can be also defined as default in the configuration file.Describe alternatives you've considered
I know I can use
grep
or Command + F, or change the output fields and| sort
, but it would be nice not using it, and most likely, faster.The text was updated successfully, but these errors were encountered: