Help users to select their account when prompted interactively
frol opened this issue · 0 comments
frol commented
Currently, near tokens
(and many other commands) prompts users to enter their account id manually:
I wish it would allow to select the account from the list of ones that were imported before (available in the local keychain) or entered manually before (keep track of them in some file) and only if it is not available user would select "Enter custom account id" and enter manually.
I think we can keep track of the history of the used accounts in <credentials_home_dir>/accounts.json
(sorted in most recently used order - top of the list is the most recently user account id, and the bottom of the list is the least recently used one)