-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Refactor CLI prompt and config logic #47874
Conversation
This pull request is automatically being deployed by Amplify Hosting (learn more). |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks for the standalone refactor, Brian! Looking good.
* Move CLI prompt configuration to CLIPrompt * Factor out dual prompt in CLI prompt logic.
a85d056
to
c8d3827
Compare
* Refactor CLI prompt and config logic. * Move CLI prompt configuration to CLIPrompt * Factor out dual prompt in CLI prompt logic. * Make cli config a field rather than embedded; Add NewCLIPromptV2.
* Refactor CLI prompt and config logic. * Move CLI prompt configuration to CLIPrompt * Factor out dual prompt in CLI prompt logic. * Make cli config a field rather than embedded; Add NewCLIPromptV2.
Refactor CLI prompt and config logic in preparation for some UX changes coming with SSO MFA. These changes will make sense in the context of the SSO MFA changes to follow. This PR is separate in order to backport this refactored logic and simplify future backports when needed.