fallow coverage currently exposes a single workflow command: setup.
setup
The setup flow performs four steps:
- check license state
- locate or install
fallow-cov - write a framework-specific collection recipe to
docs/collect-coverage.md - if coverage already exists, hand off directly to
fallow health --production-coverage <path>
Flags
| Flag | Description |
|---|---|
-y, --yes | Accept prompts automatically. Useful for local setup when you want fallow to continue without confirmation prompts. |
--non-interactive | Print instructions instead of prompting. Useful in CI, remote shells, or agent workflows. |
What setup detects automatically
fallow coverage setup inspects package.json, lockfiles, and scripts to tailor the instructions:
| Detection | Purpose |
|---|---|
| Framework | Chooses a recipe for Next.js, NestJS, Nuxt, SvelteKit, Astro, Remix, plain Node services, or a generic fallback. |
| Package manager | Uses packageManager, lockfiles, or both to choose install commands for npm, pnpm, yarn, or bun. |
| Coverage artifact | Detects existing coverage/coverage-final.json, .nyc_output/coverage-final.json, or JSON-containing V8 directories. |
| Sidecar binary | Resolves FALLOW_COV_BIN, project-local shims, package-manager bin lookups, ~/.fallow/bin/fallow-cov, and PATH. |
docs/collect-coverage.md with a link to the public coverage docs for manual setup.
Generated recipe
The generateddocs/collect-coverage.md recipe typically looks like:
build, start, or preview scripts when they exist and falls back to common framework commands otherwise.
Typical flow
Sidecar installation
Iffallow-cov is missing, setup tells you exactly what it checked and suggests the correct install command for your package manager, for example:
FALLOW_COV_BIN to an explicit binary path.
See also
License commands
Start a trial, refresh a token, or inspect feature status.
Production coverage
Learn what runtime coverage adds and how it differs from static reachability.