-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
feat: User is now prompted to enter credentials if there's no config file or it's filled with default information #139
base: master
Are you sure you want to change the base?
Conversation
…r it's filled with default information Fixed some typos
No more duplication of 'accounts' section
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.
Fixed all mentioned lines
Cool idea and looks okay to me, but for the typical user the config helper webfile is more than enough. Unnecessary PoF and maintenance. |
True. Maybe something simple as a link to the config helper would be enough. |
Summary of Changes
If program can't find existing config.yaml file, user will be prompted to create one and fill via command line(password input is hidden)
Same for default config file (you can see multiple account creation on the screenshot below)
Case where config.yaml is empty
Additional context
Fixed some typos in comments and created UserPrompt function to handle dialog with user
Testing instructions
Account creation should work in all scenarios
User prompt should accept all variants of "yes"
How to download the PR for testing
gh pr checkout 124
(Requires GitHub CLI)