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

refactor: quickstarts flags #169

Merged
merged 7 commits into from
Mar 19, 2021
Merged

refactor: quickstarts flags #169

merged 7 commits into from
Mar 19, 2021

Conversation

jfatta
Copy link
Contributor

@jfatta jfatta commented Mar 19, 2021

Standardize flags definition and usage on the quickstarts command.

context: https://auth0team.atlassian.net/browse/CLI-77

@jfatta jfatta requested a review from Widcket March 19, 2021 18:55
qsWebApp = "webapp"
qsBackend = "backend"
_defaultURL = "http://localhost:3000"
clientID = Flag{
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please prefix it with qs (qsClientID), until we move it to its own package?

IsRequired: true,
}

stack = Flag{
Copy link
Contributor

@Widcket Widcket Mar 19, 2021

Choose a reason for hiding this comment

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

Idem above (qsStack).

@jfatta jfatta requested a review from Widcket March 19, 2021 19:07
Name: "Stack",
LongForm: "stack",
ShortForm: "s",
Help: "Tech/Language of the quickstart sample to download.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't it be required as well? (prompt not withstanding)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, good catch. I was honoring the previous setup but it doesn't make sense without the stack.

@jfatta jfatta requested a review from Widcket March 19, 2021 19:15
Copy link
Contributor

@Widcket Widcket left a comment

Choose a reason for hiding this comment

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

Thanks!

@Widcket Widcket merged commit 4005c63 into main Mar 19, 2021
@Widcket Widcket deleted the refactor-qs-flags branch March 19, 2021 19:26
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