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

Added option to display login URL during login #175

Merged
merged 7 commits into from
Dec 6, 2022

Conversation

Dannomac
Copy link
Contributor

This PR adds the ability to display the login URL to the CLI rather than opening in the default browser. Useful if you are using a browser that is not set as your default.

@motdotla
Copy link
Member

Thank you for this @Dannomac.

I will review it soon. Might move some things around slightly.

Symmetry is very important in the tool, and I don't like that this adds an additional command.

Possibly we should just list the url prior to asking to continue or not? Then the dev can abort but still copy and paste the url?

@Dannomac
Copy link
Contributor Author

Yeah totally agree. Seems like a simpler idea. Let me know if you want me to do anything to help!

@motdotla
Copy link
Member

I don't want to give you more work that might get thrown out, but could you re-adjust it to that if you find the time?

Go ahead and do so for all commands that list out a url. Then we'll give it a test run in our terminals to see the 'feel' of it. My only worry then is it might feel too verbose of output on the screen, but I think it will be ok.

@Dannomac
Copy link
Contributor Author

Absolutely. It's quite late where I am but I'll have a look at it tomorrow.

@Dannomac
Copy link
Contributor Author

@motdotla Added new features. Let me know if you'd like me to make any more changes.

@motdotla
Copy link
Member

motdotla commented Dec 6, 2022

looks good! merging

@motdotla motdotla merged commit 92f4c54 into dotenv-org:master Dec 6, 2022
@Dannomac Dannomac deleted the display-login-url branch December 6, 2022 22:16
@motdotla
Copy link
Member

Released as 1.17.0. I made some modifications.

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.

None yet

2 participants