CLI Overview
The reactor CLI is your primary interface for local development, deployment, and day-to-day operations. Every capability has a corresponding CLI verb.
Installation
Section titled “Installation”# macOS (Homebrew)brew install reactor-cloud/tap/reactor
# From sourcecargo install reactor-cliVerify:
reactor versionGlobal flags
Section titled “Global flags”These flags work with every command:
| Flag | Short | Description |
|---|---|---|
--context | -c | Context to use (overrides REACTOR_CONTEXT) |
--manifest | -m | Path to reactor.toml |
--output | -o | Output format: human or json |
--yes | Skip confirmation prompts | |
--verbose | -v | Verbose output |
--token | Auth token (overrides context token) |
Command groups
Section titled “Command groups”| Group | Commands | Purpose |
|---|---|---|
| Project | init, project, build, deploy, migrate, doctor | Project lifecycle |
| Context | context list/add/use/show/remove, login, logout, whoami | Server connections and auth |
| Capabilities | functions, sites, jobs, data, ai, auth, connect, vault | Operate each capability |
| Cloud | cloud projects/keys/members/domains/audit | Reactor.cloud control plane |
| Dev | dev, up, down, status | Local development server |
| Utility | inspect, logs, types, version | Inspection and codegen |
Output formats
Section titled “Output formats”# Human-readable (default on TTY)reactor functions list
# JSON for scriptingreactor --output json functions listEnvironment variables
Section titled “Environment variables”| Variable | Description |
|---|---|
REACTOR_CONTEXT | Default context name |
REACTOR_TOKEN | Authentication token |
REACTOR_OUTPUT | Output format |
REACTOR_ASSUME_YES | Skip confirmations |