Skip to content

Commit b8e3049

Browse files
authored
docs: fix compile command — document optional path and auto-discovery mode (#131)
1 parent e3393a3 commit b8e3049

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,8 @@ Global flags (apply to all subcommands): `--verbose, -v` (enable info-level logg
715715
- `--output, -o <path>` - Output directory for the generated file (defaults to current directory)
716716
- Guides you through: name, description, engine selection, schedule, workspace, repositories, checkout, and MCPs
717717
- The generated file includes a placeholder for agent instructions that you edit directly
718-
- `compile <path>` - Compile a markdown file to Azure DevOps pipeline YAML
719-
- `--output, -o <path>` - Optional output path for generated YAML
718+
- `compile [<path>]` - Compile a markdown file to Azure DevOps pipeline YAML. If no path is given, auto-discovers and recompiles all detected agentic pipelines in the current directory.
719+
- `--output, -o <path>` - Optional output path for generated YAML (only valid when a path is provided)
720720
- `check <pipeline>` - Verify that a compiled pipeline matches its source markdown
721721
- `<pipeline>` - Path to the pipeline YAML file to verify
722722
- The source markdown path is auto-detected from the `@ado-aw` header in the pipeline file
@@ -1060,6 +1060,13 @@ cargo clippy
10601060
cargo run -- compile ./path/to/agent.md
10611061
```
10621062

1063+
### Recompile all agentic pipelines in the current directory
1064+
1065+
```bash
1066+
# Auto-discovers and recompiles all detected agentic pipelines
1067+
cargo run -- compile
1068+
```
1069+
10631070
### Add a new dependency
10641071

10651072
```bash

0 commit comments

Comments
 (0)