Project & Development Commands
orcher new (alias: n)
Create new projects, workflows, or tasks from templates.
new project
1orcher new project <name> [OPTIONS]23# Examples4orcher new project my-app5orcher new project my-app --template microservices --dir ./projects| Option | Default | Description |
|---|---|---|
-t, --template | basic-workflow | Template: basic-workflow, microservices, data-pipeline, batch-processing |
-d, --dir | current directory | Output directory |
new workflow
1orcher new workflow <name> [OPTIONS]23# Examples4orcher new workflow process-order5orcher new workflow process-order --type dag --output src/workflows/| Option | Default | Description |
|---|---|---|
-t, --type | sequential | Workflow type: sequential, parallel, dag, conditional |
-o, --output | — | Output file path |
orcher run
Run a workflow locally or remotely.
1orcher run <workflow_type[@task_queue]> [OPTIONS]23# Examples4orcher run process-order --param order_id=123 --param amount=99.995orcher run payment-workflow@payment-tasks --param data='{"foo":"bar"}'6orcher run batch-job --local --env stagingThe workflow identifier format is workflow_type[@task_queue]. If @task_queue is omitted, the workflow type is used as the queue name.
| Option | Description |
|---|---|
--local | Run locally instead of on cluster |
-e, --env | Environment to run against |
-p, --param | Parameters as key=value (repeatable; supports JSON values) |
Parameter types: The --param flag auto-detects types. Integers, floats, booleans, strings, JSON objects, and JSON arrays are all supported:
1orcher run my-workflow \2 --param count=42 \3 --param price=9.99 \4 --param active=true \5 --param name=hello \6 --param config='{"key":"value"}' \7 --param items='[1,2,3]'orcher test
Test workflows locally.
1orcher test <workflow_file> [OPTIONS]23# Examples4orcher test src/workflows/order.rs5orcher test src/workflows/order.rs --dry-run6orcher test src/workflows/ --watch --env staging| Option | Description |
|---|---|
--dry-run | Validate without executing |
-e, --env | Environment to test against |
-w, --watch | Watch for file changes and re-test |
orcher dev
Development mode commands.
dev start
1orcher dev start [OPTIONS]23# Examples4orcher dev start5orcher dev start --port 9090 --host 0.0.0.0| Option | Default | Description |
|---|---|---|
--port | 8080 | Dev server port |
--host | localhost | Dev server host |
dev stop
1orcher dev stopdev logs
1orcher dev logs [--follow]