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

Improve help text and error for azd init : -b can only be used if -t is specified #2053

Closed
savannahostrowski opened this issue Apr 28, 2023 · 0 comments · Fixed by #2578
Closed

Comments

@savannahostrowski
Copy link
Contributor

We should add a note to help text to indicate this + improve the error message.

Current help text:
image

Suggested help text:

The template branch to initialize from. Must be used with -t/--template

Current error:

ERROR: template name required when specifying a branch name

Suggested error:

ERROR: Using -b, --branch requires -t, --template to be specified

Or something similar (we just want to guide the user better).

@ghost ghost added the needs-triage For new issues label Apr 28, 2023
@savannahostrowski savannahostrowski changed the title Add to help text for azd init that -b can only be used if -t is specified Improve help text and error for azd init : -b can only be used if -t is specified Apr 28, 2023
@savannahostrowski savannahostrowski added this to the Gallium milestone May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants