WorkLensDocs
    Studio
    reference

    Configuration

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

    Last updated 2026-09-13 · Generated from packages/sdk-node/bin/worklens.js · Markdown

    Summary

    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.