You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And developers can check `aaz` folder to see the newly generated command models for`liftrpinecone`.
154
-
155
-
### 2. Generate `aaz` commands
156
-
157
-
Based on the `aaz` model generated in last step, the following cmd can be used to generate `aaz` commands into cli extension directly in cmd shell.
158
-
137
+
## Generate Azure CLI module in seconds!
138
+
E.g.,
159
139
```bash
160
-
aaz-dev cli generate-by-swagger-tag -a {path to aaz} -e {path to azure-cli-extensions} --name {target extension module name} --sm {path to swagger module} --rp {resource provider name} --tag {swagger tag with input files specified} --profile {chosen cmd profile}
140
+
aaz-dev cli generate --spec chaos --module chaos
161
141
```
162
142
163
-
For example, generate `aaz`command under cli extension module `myliftrpinecone`for swagger module liftrpinecone under tag `package-2024-10-22-preview` and the `latest` profile:
It will convert the specification from https://github.com/Azure/azure-rest-api-specs/tree/main/specification/chaos into an Azure CLI module named `chaos`.
168
144
169
-
And developers can check `azure-cli-extensions` folder to see the newly generated commands for swagger module liftrpinecone under cli extension module `myliftrpinecone`.
145
+
> Generate code effortlessly. If the result isn't what you expected, use the UI to fine-tune it.
0 commit comments