-
Notifications
You must be signed in to change notification settings - Fork 887
feat(cli): make url optional for login command (#10925) #12466
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
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
Allow `coder login` to log into existing deployment if available. Output to indicate saved URL was used. Update help and error messages to indicate that `coder login` is available as a command.
91fe4fc
to
1cc525a
Compare
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.
Thank you for this PR! I have a couple of improvement suggestions but otherwise this looks really good.
It doesn't make sense to output Authing with ... then fail. This moves the output later in the login process to prevent that.
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.
This turned out great, thanks for your contribution!
Allow
coder login
to log into existing deployment if available and indicate URL used.This PR also updates related error and help messages to indicate
coder login
is available as a command.Fixes #10925
Fixes #9551