Skip to main content

benchweave-sdk regen-fixtures

Regenerate the scaffolded example preview fixtures from the catalogue.

benchweave-sdk regen-fixtures PROJECT

The same generator the scaffold used, run on demand (issue #463 row 8): after a catalogue edit moves a target, or after a plugin-ui-preview contract bump, one command rewrites ui/fixtures/normal.json and warning.json at the active version. An example file whose scenario id is not the example id is author content — refused, nothing written. Author scenarios at their own ids are never touched.

Full --help output
Usage: benchweave-sdk regen-fixtures [OPTIONS] PROJECT

  Regenerate the scaffolded example preview fixtures from the catalogue.

  The same generator the scaffold used, run on demand (issue #463 row 8):
  after a catalogue edit moves a target, or after a plugin-ui-preview contract
  bump, one command rewrites ui/fixtures/normal.json and warning.json at the
  active version. An example file whose scenario id is not the example id is
  author content — refused, nothing written. Author scenarios at their own ids
  are never touched.

Options:
  --help  Show this message and exit.

Arguments

PROJECT: PATH
Required.