Skip to content

fix: provide helpful error when no login url specified #11110

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

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

f0ssel
Copy link
Contributor

@f0ssel f0ssel commented Dec 8, 2023

Closes #11003

Example:

➜  coder git:(f0ssel/no-login-url) ✗ go run ./cmd/coder/main.go login                                      
Encountered an error running "coder login"
no url argument provided
exit status 1

@f0ssel f0ssel requested a review from Emyrk December 8, 2023 19:39
@f0ssel f0ssel merged commit 716759a into main Dec 8, 2023
@f0ssel f0ssel deleted the f0ssel/no-login-url branch December 8, 2023 19:44
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(cli): CLI throws an error when using coder login without an URL
2 participants