Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Global Flags

Global flags apply to every reactor command.

Select which server context to use. Overrides REACTOR_CONTEXT and the manifest default.

Terminal window
reactor --context cloud deploy
reactor -c local functions list

Path to the project manifest. By default, Reactor searches the current directory and parents for reactor.toml.

Terminal window
reactor -m ./apps/my-app/reactor.toml deploy

Output format: human (default on TTY) or json (default when piped).

Terminal window
reactor --output json jobs list | jq '.[].name'

Skip confirmation prompts. Also set via REACTOR_ASSUME_YES=1.

Terminal window
reactor --yes cloud projects delete my-project

Enable verbose logging for debugging.

Terminal window
reactor -v deploy

Provide an authentication token directly. Overrides the token stored in the active context.

Terminal window
reactor --token "$REACTOR_TOKEN" whoami
VariableEquivalent flagDescription
REACTOR_CONTEXT--contextDefault context name
REACTOR_TOKEN--tokenBearer token for API calls
REACTOR_OUTPUT--outputhuman or json
REACTOR_ASSUME_YES--yesSet to 1 to skip prompts

Contexts are stored in ~/.reactor/config.toml. Add contexts with:

Terminal window
reactor context add cloud \
--endpoint https://api.reactor.cloud \
--org my-org
reactor context use cloud
reactor login --browser
CodeMeaning
0Success
1General error
2Invalid usage