Azure / Azure/autorest.powershell

Global rename of terms

Open
#418 2 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
C#
Stars
123
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Instead of:
```yaml
- where:
subject: (.*)VirtualMachineScaleSet(.*)
set:
alias: ${verb}-Az${subject-prefix}${subject}
- where:
parameter-name: (.*)VirtualMachineScaleSet(.*)
set:
alias: $1VirtualMachineScaleSet$2
- where:
subject: (.*)VirtualMachineScaleSet(.*)
set:
subject: $1Vmss$2
- where:
parameter-name: (.*)VirtualMachineScaleSet(.*)
set:
parameter-name: $1Vmss$2
```
(which doesn't even cover property/class names) is needed to do some basic term renaming. Here: `VirtualMachineScaleSet -> Vmss`. We need global term renaming. This would be a configuration directive. It would rename a term anywhere, such as:
- Cmdlet names
- Parameter names
- Class names
- Property names

This would vastly simplify a lot of configuration.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.