Skip to content

azd config --help does not show help for AZD_CONFIG_DIR #2302

Description

@weikanglim

azd version 1.0.0 (commit ed2244cb62e7940ec5aceb3b68ea49158272dd7e)

image

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's Long text and also configuring HelpOptions means that Long 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/core-cliCLI commands, cmd/, internal/cmd/bugSomething isn't working

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions