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
azd config --help
does not show help for AZD_CONFIG_DIR
#2302
Comments
@weikanglim , the That's basically why I didn't remove the The mock for |
@vhvb1989 Is there some work we can do to unify the two codepaths? We need to be crisp about not having something like |
@Austinauth worked on getting the expected output for Then, while I was implementing the changes, I asked if we wanted to have the same text from the terminal to be displayed in the web-docs. But the answer was No. The way I see it, |
It's been a while since we took a pass at the This is probably something worth talking through as a small group so we're aligned on the approach. |
@v-xuto seems minor. Can you try putting out a PR for this? |
@rajeshkamal5050 PR is ready, please review. |
azd version 1.0.0 (commit ed2244cb62e7940ec5aceb3b68ea49158272dd7e)
Expected:
The usage text about configuring
AZD_CONFIG_DIR
should show up.Actual:
No usage text is present.
Since azd migrated away from using
cobra
's default display, setting a cobra command'sLong
text and also configuringHelpOptions
means thatLong
text is never displayed.This line is likely ineffectual code currently.
Let's fix the help text here.
Let's also investigate how to more cohesively avoid these types of issues from popping up.
The text was updated successfully, but these errors were encountered: