runfabric

Command Reference

Global flags (apply when supported): -c/--config (path to runfabric.yml), -s/--stage (stage name), --json (machine-readable output), --non-interactive (disable prompts; for CI/MCP), -y/--yes (assume yes for any confirmation), --auto-install-extensions (prompt to auto-install missing external plugins from registry; combine with -y for CI).

Quick navigation

Binary profiles (runfabric + runfabricd + runfabricw)

Binary Profile Command surface
runfabric Control-plane Full CLI: project/init, doctor/plan/build/package/deploy/remove, invoke/logs/traces/metrics, state, extensions, router, admin, workflow
runfabricd Daemon-plane Daemon-focused surface: run/start/stop/restart/status for long-running config API + dashboard process
runfabricw Workload-plane Workflow runtime only: workflow run, workflow status, workflow cancel, workflow replay

Notes:

CLI organization (developer note)

Project setup and scaffolding

Generate interactive notes:

Docs and workflow utilities

Worker-binary equivalents:

Workflow runtime behavior notes:

Core lifecycle (doctor → plan → build/package → deploy → operate → remove)

Deploy history, inspection, and migration

Local development and debugging

Invocation, logs, and observability

Extensions (addons and plugins)

Auth and identity

Auth URL resolution order: --auth-url -> RUNFABRIC_AUTH_URL -> .runfabricrc auth.url -> .runfabricrc registry.url -> https://auth.runfabric.cloud.

Daemon, dashboard, and config API

invoke and logs resolve project context from the current working directory.

Recovery and inspection

Runtime router

Router backend selection: extensions.routerPlugin defaults to cloudflare. Built-ins also include route53, ns1, and azure-traffic-manager provider API reconcilers. CI rollout template: see ROUTER_CI_TEMPLATE.md for a dev -> staging -> prod pipeline baseline. Operator runbook: ROUTER_OPERATIONS_WORKFLOW.md.

Compose

Compose concurrency: Services are deployed in dependency order (DAG). --concurrency <n> limits how many services are deployed in parallel (default is implementation-defined; typically 1–4). Use a lower value (e.g. 1) to avoid hammering a single provider when many services target the same cloud.

State

Supported backend kinds for state commands: local, postgres, sqlite, s3, dynamodb, gcs, azblob.

Failure and recovery notes

Troubleshooting:

See also: RUNFABRIC_YML_REFERENCE.md for config (including resources and per-function resources: [key, ...] for DATABASE_URL/REDIS_URL binding, deploy.rollbackOnFailure, deploy.healthCheck, deploy.scaling, providerOverrides, layers, and state). TESTING_GUIDE.md for call-local, invoke, and CI. MCP.md for the MCP server (agents/IDEs).