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 CreateMappings.ps1 #10669

Open
msJinLei opened this issue Dec 6, 2019 · 0 comments
Open

Improve CreateMappings.ps1 #10669

msJinLei opened this issue Dec 6, 2019 · 0 comments
Labels
Azure PS Team Engineering feature-request This issue requires a new behavior in the product in order be resolved.
Milestone

Comments

@msJinLei
Copy link
Contributor

msJinLei commented Dec 6, 2019

Description

Inspired by the issue #10613

It is found that CreateMappings.ps1 generates help file to alias mapping using CreateMappings_rules.json.
It searches for the keywords of different rules in help file's path and file, if any match, choose a best one.

When more than one rules are hit, the current solution is ordering rule according to priority in CreateMappings_rules.json and selecting the first matched rule in CreateMappings.ps1.

The problem is if it is impossible to prioritize two rules how to handle the case.
Here is a example case.
Get-AzComputedNetworkxxxxx
Rule1: Compute
Rule2 :Network
Which rule should be applied to the case?

Cost

@msJinLei msJinLei added Azure PS Team feature-request This issue requires a new behavior in the product in order be resolved. labels Dec 6, 2019
@dingmeng-xue dingmeng-xue added this to the Backlog milestone Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure PS Team Engineering feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
Development

No branches or pull requests

2 participants