-
Notifications
You must be signed in to change notification settings - Fork 0
CLI Reference
viamu edited this page Mar 1, 2026
·
3 revisions
Runs a built-in Plan β Execute β Validate pipeline for a given task description.
dotnet run --project CodeGenesis.Engine -- run "Add retry logic to the HttpClient service"| Option | Description | Default |
|---|---|---|
-d, --directory |
Working directory | current |
-m, --model |
Claude model (e.g. claude-sonnet-4-6) |
from config |
--max-turns |
Max agentic turns per step | 5 |
--skip-validate |
Skip the validation step | false |
# Simple task
dotnet run --project CodeGenesis.Engine -- run "Fix the login bug"
# With model override and unlimited turns
dotnet run --project CodeGenesis.Engine -- run "Build a full REST API" \
--model claude-opus-4-6 --max-turns 0
# Skip validation step
dotnet run --project CodeGenesis.Engine -- run "Refactor auth module" --skip-validateRuns a pipeline defined in a YAML configuration file.
dotnet run --project CodeGenesis.Engine -- run-pipeline examples/hello-world.yml| Option | Description | Default |
|---|---|---|
-i, --input |
Input override as key=value (repeatable) |
β |
-d, --directory |
Working directory | current |
-m, --model |
Model override for all steps | from config |
--resume |
Resume from last checkpoint (skips completed steps) | false |
--from-step <STEP> |
Resume from a specific step name | β |
# Basic pipeline
dotnet run --project CodeGenesis.Engine -- run-pipeline pipeline.yml
# With input overrides
dotnet run --project CodeGenesis.Engine -- run-pipeline pipeline.yml \
--input task="Create a Python calculator" \
--input language="python"
# With model override
dotnet run --project CodeGenesis.Engine -- run-pipeline pipeline.yml \
--model claude-sonnet-4-6
# Resume from last checkpoint
dotnet run --project CodeGenesis.Engine -- run-pipeline pipeline.yml --resume
# Resume from a specific step
dotnet run --project CodeGenesis.Engine -- run-pipeline pipeline.yml --from-step "Execute"Note
--resume and --from-step are mutually exclusive. Checkpoints are saved automatically after each step completes. If the YAML file changed since the checkpoint, a warning is shown.
Tip
See Pipeline YAML Reference for the full YAML configuration format.
π Home
- π Getting Started
- π» CLI Reference
- π YAML Reference
- π Step Types
- π MCP Servers
- π¦ Context Bundles
- βοΈ Configuration
- ποΈ Project Structure
- π§ͺ Testing