Skip to content
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

format sessions open output to be more readable, sort by abc/fav #284

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KennyS-Cox
Copy link

Change Log Items

  • Formats alks sessions open accounts list in more readable format, sorts alphabetical and then favorites.

Description

Implements #185 w/ some extras like account name first. Also adds tests.

Example w/ no favorite overrides

$ alks sessions open -No idea
ALKS v3.0.8
? Please select an ALKS account/role (Use arrow keys)
❯ awsbridgecp1 ........ 986533904591/ALKSReadOnly              ::  ReadOnly
  awsbridgedzcell2np .. 640543234732/ALKSReadOnly              ::  ReadOnly
  awsbridgedzcell2np .. 657046243912/ALKSReadOnly              ::  ReadOnly
  awsbridgedzcp1np .... 550629699577/ALKSAdmin                 ::  Admin
  awsbridgeops ........ 469759795247/ALKSReadOnlyPlusApproval  ::  ReadOnlyPlusApproval
  awsclntmgmntcp1 ..... 261782789091/ALKSReadOnly              ::  ReadOnly
  awsclntmgmntdzcp1np . 635030964719/ALKSAdmin                 ::  Admin
  awscommonorgcp1 ..... 137386787517/ALKSReadOnly              ::  ReadOnly
  awscommonorgdzcp1np . 055985823062/ALKSReadOnly              ::  ReadOnly
  awscoxautolabs11 .... 585246496791/ALKSLabAdmin              ::  LabAdmin
  awsepdpapps ......... 551664769586/ALKSAdmin                 ::  Admin
  awsepdpappsnp ....... 221508814545/ALKSAdmin                 ::  Admin
  awsepdpops .......... 118078152803/ALKSAdmin                 ::  Admin
  awssignincell1 ...... 842430935180/ALKSReadOnly              ::  ReadOnly
  awssignincell2 ...... 224526364523/ALKSReadOnly              ::  ReadOnly
  awssignincell3 ...... 507452165201/ALKSReadOnly              ::  ReadOnly

Rally:

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant