Skip to content

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

Closed
KennyS-Cox wants to merge 3 commits intoCox-Automotive:masterfrom
KennyS-Cox:sessionsOpenFormatting
Closed

format sessions open output to be more readable, sort by abc/fav#284
KennyS-Cox wants to merge 3 commits intoCox-Automotive:masterfrom
KennyS-Cox:sessionsOpenFormatting

Conversation

@KennyS-Cox
Copy link
Contributor

@KennyS-Cox KennyS-Cox commented Feb 6, 2025

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
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

@DevOpsDave DevOpsDave added the release/minor Indicates an update with new features but no breaking changes label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/minor Indicates an update with new features but no breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants