The CLI is one self-contained file, breaker-delta.mjs (see Getting Started for bundling), called BD below. Exit codes: 0 success, 1 runtime error, 2 usage error.
--data-dir <dir> Instance data dir: editions/, state/, track-record.md,
config.yaml|json (default: $BD_DATA_DIR or current dir)
--config <path> Config file (default: search the data dir, then the engine root)
--root-dir <dir> Engine root holding assets/, favicon-cache/ and config.example.*
(default: $BD_ROOT_DIR or auto-detected)
--json Machine-readable output: stdout carries one JSON document
--help Show help
BD="bun apps/cli/dist/breaker-delta.mjs"
$BD --data-dir /path/to/your-data doctor
$BD --data-dir /path/to/your-data scan --edition morning
echo '[{"name":"Some New Model","sources":["Hacker News","Reddit"],"grade":"must"}]' > picks.json
$BD --data-dir /path/to/your-data record picks.json
$BD --data-dir /path/to/your-data record review --name "Some New Model" --result hit
$BD --data-dir /path/to/your-data publish --out site
TS_OUT Output directory TS_BASE_URL Site root URL (drives canonical, sitemap and share links) TS_DATA_REPO Data repo (owner/repo) that submit links point at TS_LANGS Languages to build, comma-separated, e.g. zh,en,ja TS_CREATOR 1 on / 0 off: the creator panel on topic pages TS_PAGE_SIZE Board page size (default 100) TS_ARCHIVE_DAYS Archive retention in days TS_SOURCES_PAGE Sources per sources-page TS_SHARE Share platforms, comma-separated TS_DOCS_URL Docs site URL: the main site's Docs tab points here (default https://docs.breakerdelta.com/) TS_MAIN_URL Main site URL: the docs site links back here (default https://breakerdelta.com/)