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
Copy file name to clipboardExpand all lines: site/src/content/docs/setup/cli.mdx
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -274,6 +274,30 @@ Options:
274
274
-`--ado-project <name>` -- Azure DevOps project name override
275
275
-`--dry-run` -- validate inputs without making write calls
276
276
277
+
## Internal / build-time tools
278
+
279
+
These commands are hidden from `--help` and are intended for contributors working on the ado-aw compiler itself — not for end users or compiled pipelines.
280
+
281
+
### `export-gate-schema`
282
+
283
+
ExportthegatespecJSONSchemausedbythe`scripts/ado-script`TypeScriptworkspacefortypecode generation. Outputs JSON to stdout or to a file.
284
+
285
+
```bash
286
+
ado-aw export-gate-schema [--output <path>]
287
+
```
288
+
289
+
Options:
290
+
291
+
-`--output`, `-o <path>` -- write the schema to a file instead of stdout; parent directories are created automatically
292
+
293
+
Typical use (from the repo root):
294
+
295
+
```bash
296
+
cargo run -- export-gate-schema --output scripts/ado-script/schema/gate-spec.schema.json
297
+
```
298
+
299
+
See the [ado-script reference](/ado-aw/reference/ado-script/) for how this command fits into the TypeScript type-codegen workflow.
0 commit comments