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

feat: adds app open [id] command #251

Merged
merged 3 commits into from
Apr 16, 2021
Merged

feat: adds app open [id] command #251

merged 3 commits into from
Apr 16, 2021

Conversation

as-herzog
Copy link
Contributor

Description

Adds apps open <clientID> command for opening the app settings page in Manage (browser).

Screen Shot 2021-04-16 at 2 14 10 PM

Screen Shot 2021-04-16 at 2 20 14 PM

return cmd
}

func formatManageURL(cfg config, id string) string {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not very familiar with manage, is there a better way to get this?

Copy link
Contributor

Choose a reason for hiding this comment

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

cc @cyx

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, could you please move this function (and manageDomain) to the open package? https://github.com/auth0/auth0-cli/blob/main/internal/open/open.go

@Widcket Widcket requested a review from a team April 16, 2021 21:09
@cyx
Copy link
Contributor

cyx commented Apr 16, 2021

Think this looks good, and works well enough for today's use case. Not sure how it would work with private installs, but that doesn't work well altogether anyway, so maybe we can tackle all that later on.

Copy link
Contributor

@cyx cyx left a comment

Choose a reason for hiding this comment

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

Seems simple enough and easy enough to iterate on when we need to 👍

@Widcket Widcket merged commit ba8e0d5 into main Apr 16, 2021
@Widcket Widcket deleted the CLI-100-add-apps-open branch April 16, 2021 23:02
@Widcket
Copy link
Contributor

Widcket commented Apr 16, 2021

Thanks! 🎉

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.

3 participants