arcflow run
Execute a workflow file from the terminal. The CLI entry point exists for a uniform developer experience; current implementation directs you to the Python SDK for actual execution.
Usage
| Flag | Description |
|---|---|
WORKFLOW_FILE | Path to .py or workflow script |
--input | Optional run input string (workflow must read it) |
Current behavior
Prints guidance to invoke the Python SDK:
Exit code 2 (execution not completed via CLI native path).
Recommended local execution
Python:
Or run the workflow file directly:
TypeScript: use @arcflow/sdk with node or tsx per quickstart-typescript.md.
Remote runtime (--runtime planned)
Future CLI versions may include --runtime http://host:8080 for server-backed runs. When wired, pattern will be:
Until native remote run ships, use curl POST /v1/runs or Python Workflow(..., runtime="http://localhost:8080").
Exit codes
| Code | Meaning |
|---|---|
| 0 | Success (when native execution implemented) |
| 2 | Execution failure or SDK delegation message |
| 3 | Infrastructure / parse error |