ArcFlow CLI overview

The arcflow binary (cli/arcflow-cli/) is a Rust command-line tool with no Python or Node runtime dependency. Startup time targets under 200ms for operator scripts and local developer workflows.

Installation

From repository root after Rust toolchain install:

bash
cargo build -p arcflow-cli --release
# binary: target/release/arcflow.exe (Windows) or target/release/arcflow

Run without install:

bash
cargo run -p arcflow-cli -- --help

Command index

CommandAudiencePurpose
arcflow initdeveloperScaffold workflow project
arcflow rundeveloperExecute workflow file locally
arcflow tracedeveloper, operatorInspect execution trace
arcflow validatedeveloperStub (CLI validate command) readability check only
arcflow schedule validatedeveloperValidate cron schedule manifest
arcflow migrate upoperator, platformApply Postgres migrations

Global flag: --no-color disables ANSI colors (CI friendly).

Primary use cases

Developers scaffold projects, run workflows against embedded core (via Python SDK invocation path for run), and inspect traces after local or server runs.

Operators run migrate up in deploy pipelines before rolling arcflow-server, then verify /ready.

Environment variables

VariableCommands
ARCFLOW_POSTGRESQL_URLmigrate up
ARCFLOW_SERVER_API_KEYtrace --server URL

Full env reference: Environment variables reference.

Exit codes (summary)

CodeMeaning
0Success
1User error (file not found, validation)
2Execution / infrastructure failure
3CLI parse or infrastructure setup failure

Per-command detail in linked pages.

Known limitations

ItemStatus
arcflow validate full JSON SchemaStub CLI validate command
arcflow run native executionDelegates to Python SDK message today
Graph/RAG via CLI runUse SDK or server API
PageTopic
init.mdProject scaffold
run.mdLocal execution
trace.mdTrace inspection
migrate.mdDatabase migrations
validate.mdStub validate + CI workaround