Bring a project down using lifecycle conventions.
# Run lifecycle down task and optional domains teardown
f down- Loads nearest
flow.toml(or--configpath). - Runs lifecycle task:
[lifecycle].down_taskwhen configured- otherwise fallback:
down
- If no down task is found and
down_taskis not explicitly set, Flow falls back to killing all running Flow-managed processes for the current project (f kill --allbehavior). - If
[lifecycle.domains]is configured, optional teardown is applied:remove_on_down = true-> removes configured host routestop_proxy_on_down = true-> stops shared local domains proxy
- On macOS launchd-managed native domains, stopping native proxy is handled by:
sudo ./tools/domainsd-cpp/uninstall-macos-launchd.sh
If neither a down task nor lifecycle domain teardown is configured, command fails with guidance.
| Option | Description |
|---|---|
--config <PATH> |
Path to flow.toml (default: ./flow.toml, searches upward when default is missing) |
ARGS... |
Extra args passed to the selected lifecycle task |