Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

sontek
Copy link
Contributor

@sontek sontek commented Aug 26, 2025

what

Make URL and Prefix mutually exclusive. Don't return exit code zero if things failed.

why

If you passed both at the same time prefix would override the URL, so for example if you said --url=console.dev.stacklet.dev but then also said --prefix=dev it would ignore url and send you to console.dev.stacklet.io which is confusing.

testing

Added many tests

docs

The CLI has --help

If you passed both at the same time `prefix` would override the URL,
so for example if you said `--url=console.dev.stacklet.dev` but then
also said `--prefix=dev` it would ignore url and send you to
`console.dev.stacklet.io` which is confusing.
@sontek sontek requested a review from a team as a code owner August 26, 2025 19:58
@sontek
Copy link
Contributor Author

sontek commented Aug 26, 2025

Looks like there is some overlap with the PR here:

Copy link
Contributor

@tvansteenburgh tvansteenburgh left a comment

Choose a reason for hiding this comment

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

Thanks @sontek

@sontek sontek merged commit 004c2f1 into main Aug 26, 2025
8 checks passed
@sontek sontek deleted the url-and-prefix-mutual-exclusive branch August 26, 2025 21:05
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