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

Return an error when one then more alias is provided #267

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

tomasmik
Copy link
Contributor

@tomasmik tomasmik commented Nov 7, 2024

➜  spacectl git:(fix-alias) ✗ ./spc profile login asdf asdf
2024/11/07 11:07:40 expecting profile alias as the only argument, got 2 instead
➜  spacectl git:(fix-alias) ✗ ./spc profile login myorg
Enter Spacelift endpoint (eg. https://unicorn.app.spacelift.io/): https://tomasmik.app.spacelift.tf/
➜  spacectl git:(fix-alias) ✗ ./spc profile login
Waiting for login responses at 127.0.0.1:65014

@tomasmik tomasmik self-assigned this Nov 7, 2024
@tomasmik tomasmik requested a review from mbialon November 7, 2024 09:08
Copy link
Contributor

@mbialon mbialon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tomasmik tomasmik merged commit d3f47f1 into main Nov 11, 2024
9 checks passed
@tomasmik tomasmik deleted the fix-alias branch November 11, 2024 07:47
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.

2 participants