-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add "Did You Mean This" Extension #1536
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
Add "Did You Mean This" Extension #1536
Conversation
|
ai |
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.
Maybe combine them?
| with self.command_group('ai-did-you-mean-this') as g: | |
| g.custom_command('version', 'show_extension_version') | |
| with self.command_group('ai-did-you-mean-this', is_preview=True): | |
| pass | |
| with self.command_group('ai-did-you-mean-this', is_preview=True) as g: | |
| g.custom_command('version', 'show_extension_version') |
src/ai-did-you-mean-this/README.rst
Outdated
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.
How about adding some instructions and usage scenarios? Like what kind of error can trigger this extension.
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.
Please also honor the no_color setting: Azure/azure-cli#12601
New extension (in preview) which uses the Aladdin service to generate and show failure recovery recommendations on command failure. This extension makes use of the hook added to
parser.pyin CLI version2.4.0. For more information, see this CLI PR.This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally?For new extensions: