brv query / brv curate directly)brv search)ParameterTypeDefaultDescription--cwdpathcurrent directoryProject directory to run brv against. Pass once per project. Supports ~ expansion.BRV_SINCEenv var24hLookback window (e.g. 48h, 7d)BRV_CMDenv varbrvPath to the brv binary — set in non-interactive environments (cron, CI) where brv may not be on PATH
Single project:
sh
npx tsx metrics.ts --cwd=~/my-project
Multiple projects — run once per --cwd:
sh
npx tsx metrics.ts --cwd=~/project-a
npx tsx metrics.ts --cwd=~/project-b
npx tsx metrics.ts --cwd=~/project-c
Change the lookback window:
sh
BRV_SINCE=48h npx tsx metrics.ts --cwd=~/my-project
Non-interactive / cron environments:
sh
BRV_CMD=$(which brv) npx tsx metrics.ts --cwd=~/my-project
When the user provides a list of project paths, run the script once per path and present each as a separate section in your response.
After running the script, present the output in a clean summary:
If reporting multiple projects, show one summary block per project, then a combined status line at the end.
If the script exits with a non-zero code or produces no output:
brv status to diagnose the daemon