-
Notifications
You must be signed in to change notification settings - Fork 55
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
Conversation
internal/cli/quickstarts.go
Outdated
qsWebApp = "webapp" | ||
qsBackend = "backend" | ||
_defaultURL = "http://localhost:3000" | ||
clientID = Flag{ |
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.
Can you please prefix it with qs
(qsClientID
), until we move it to its own package?
internal/cli/quickstarts.go
Outdated
IsRequired: true, | ||
} | ||
|
||
stack = Flag{ |
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.
Idem above (qsStack
).
Co-authored-by: Rita Zerrizuela <[email protected]>
Co-authored-by: Rita Zerrizuela <[email protected]>
Co-authored-by: Rita Zerrizuela <[email protected]>
internal/cli/quickstarts.go
Outdated
Name: "Stack", | ||
LongForm: "stack", | ||
ShortForm: "s", | ||
Help: "Tech/Language of the quickstart sample to download.", |
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.
Shouldn't it be required as well? (prompt not withstanding)
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.
yes, good catch. I was honoring the previous setup but it doesn't make sense without the stack.
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!
Standardize flags definition and usage on the
quickstarts
command.context: https://auth0team.atlassian.net/browse/CLI-77