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

Make it easier to get the link to the Lagoon UI for a project #289

Open
seanhamlin opened this issue Sep 1, 2023 · 2 comments
Open

Make it easier to get the link to the Lagoon UI for a project #289

seanhamlin opened this issue Sep 1, 2023 · 2 comments

Comments

@seanhamlin
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

I am looking to try to get a link to the Lagoon UI for a given project

Describe the solution you'd like

Something fit for CLI tools, I do not want a browser to open. Maybe something like:

lagoon web -p PROJECT --no-open --output-json

Describe alternatives you've considered

Tried getting the web field from the configuration, but it is missing

lagoon config list --output-json | jq
@shreddedbacon
Copy link
Member

shreddedbacon commented Sep 1, 2023

The field is ui, not web. But it doesn't get parsed properly in the output unless you add --show-full and you get ui-url

But I'd really like to remove this from the CLI personally. It is only useful if the configuration has been defined with the ui option when creating it.

@seanhamlin
Copy link
Collaborator Author

seanhamlin commented Sep 1, 2023

Perhaps it could be in the Lagoon API, at either the project or environment level, something like a UI link or something?

For now, I am just trying to avoid some janky hard coding

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

No branches or pull requests

2 participants