-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Print web app URL in CLI start command #12016
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
@@ -908,6 +909,10 @@ def print_profile() -> None: | |||
f" :bust_in_silhouette: [bold]Profile:[/bold] [blue]{', '.join(config.LOADED_PROFILES)}[/blue]" | |||
) | |||
|
|||
def print_app() -> None: | |||
console.print( | |||
f" :globe_with_meridians: [bold]App:[/bold] \033https://app.localstack.cloud\033" |
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.
note: Alternatively, we could use a short URL like https://localstack.dev/app so we can track usage.
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.
Thanks a lot for the addition and the great PR description with the screenshots! 🚀
Some checks on your PR are currently failing, but they are easy to fix:
- "Enforce PR Labels" fails because you need to define the semver for your change by setting one of the
semver: <bump-type>
labels. - "ci/circleci: preflight" fails because your code is not passing our linting rules.
- You can easily fix that by using the
make format
andmake lint
commands. - You can make sure that this is checked before each of your local commits by installing our pre-commit rules with
make init-precommit
.
- You can easily fix that by using the
Let me know if you need any help :)
Awesome—thanks for the hints, @alexrashed!
Could you take another look and let me know what you think about this change? 😃 |
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.
Thanks a lot for addressing the comments! I think it is looking great! 🚀
But we should clarify the two comments before merging.
Also, please be aware that the changes in the CLI will only take effect with the next release and not immediately after the merge to master
.
Other than the emulator Docker image, we only publish the CLI on explicit tagged releases.
Thanks for the insights and taking another look, @alexrashed!
Sounds good—there'a absolutely no rush to get this in. Addressed both discussions above. Since we're here I thought we could consider also dropping the emojis at the start now that it's getting crowded up there to make it a bit more professional—happy to keep the emojis in. What do you think?
|
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.
Thanks for addressing the comments! And thanks for proactively jumping on these changes! 🦸🏽
I honestly don't really have an opinion on the emojis. I somewhat like them, but I can see that it's getting a bit too playful. 😉
Thanks, @alexrashed! ❤️ Removed the emojis as they also become harder to see in dark themes, and updated the PR description to reflect the latest changes. Merging once the checks pass. 🚀 |
This will update the CLI output to include the web app URL added in #12016.
This will update the CLI output to include the web app URL added in #12016.
This will update the CLI output to include the web app URL added in #12016.
Motivation
See relevant discussion where initially the idea of linking to the web app was mentioned.
Changes