# Configuration

> Every option the generate, prove and bundle commands accept, and what each one changes about a run. There is no config file.

Section: CLI · Type: reference · Last updated: 2026-09-13

The CLI has no config file. Everything is a flag on the command, which is what makes a CI run reproducible: the recipe plus the exact flags is the whole input. Packs are process-local, so a CI job passes --pack on every run; row counts declared in the recipe win over --rows; and a seed on the command pins the output.

## generate, prove and bundle options

- --pack FILE — load a pack before generating; repeatable. Packs are process-local, so CI must pass them on every run — commit the pack next to the recipe and repeat the flag.
- --rows N — DEFAULT rows, used only for entities that declare no rows of their own (default 100). A recipe stating its own counts keeps them.
- --seed N — deterministic seed
- --scenario S — named scenario (e.g. nulls, boundary)
- --format F — csv | json | sql | nested (default csv)
- --root E — root entity for nested/slice (default first entity)
- --slice N — extract a referential slice of N root rows
- -o FILE — write to FILE (else stdout)

## bundle only

- --out-dir DIR — write the run folder here (default worklens-run-<timestamp>)
- --no-gitignore — do NOT write the .gitignore that ignores the generated data

## Every command

- worklens derive <file> [-o recipe.wl.json] — file → data-free recipe
- worklens generate <recipe.wl.json> [opts] — recipe → data
- worklens prove <recipe.wl.json> [opts] — recipe → verifiable proof (JSON)
- worklens bundle <recipe.wl.json> [opts] — recipe → run folder: data + recipe + proof.json + proof.html + manifest.json (all local)
- worklens check <recipe.wl.json> — prove the recipe is data-free; warn on unread keys
- worklens preview <recipe.wl.json> [-o preview.html] — the recipe drawn as one page: tables,
- worklens version — prints the engine version

## Common questions

**Is there a config file or environment variable?**

No. Every setting is a flag, so a run is reproducible from the command line alone. If you want defaults, keep them in a script or a CI step next to the recipe.

## Related

- [Generate](https://theworklens.com/docs/cli/generate): worklens generate — recipe → data. Read from the CLI’s own header, with every option it accepts.
- [Prove & bundle](https://theworklens.com/docs/cli/prove): worklens prove and worklens bundle — a verifiable proof as JSON, or a whole run folder with data, recipe, proof and manifest.
- [Packs on the command line](https://theworklens.com/docs/cli/packs): Loading a locale or domain pack into a CLI run with --pack, and why CI must pass it on every run.

_← Previous: [Packs on the command line](https://theworklens.com/docs/cli/packs) · Next: [SDK](https://theworklens.com/docs/sdk) →_

_Options and their descriptions come from the CLI file’s own header comment. Source: packages/sdk-node/bin/worklens.js._

_Canonical: https://theworklens.com/docs/cli/configuration · This copy: https://theworklens.com/docs/cli/configuration.md_
