-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
az --help
causes a command index rebuild
#27444
Comments
Thank you for opening this issue, we will look into it. |
This is by design. |
Isn't that information cached in the command index? It feels like a lot of overhead for something that should be up to date in the case 99% of the time. |
The command index only contains the mapping between subgroups and modules. In this command, |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @adamedx. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT, @ramankumarlive, @ushnaarshadkhan. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-iot-cli-triage. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp. |
Describe the bug
When running
az --help
, the commandindex is always rebuilt, adding to the time taken to run the command.Related command
Errors
Issue script & Debug output
Expected behavior
Command index cache is used.
This behavior only occurs when running top-level
--help
, callingaz vm --help --debug
doesn't rebuild the command index.Environment Summary
Additional context
Command index cache is used.
This behavior only occurs when running top-level
--help
, callingaz vm --help --debug
doesn't rebuild the command index.The text was updated successfully, but these errors were encountered: