recon_gen.cli.schema

recon-gen schema — per-prefix DDL for an L2 instance.

Three operations:

apply — emit the schema DDL (default), or --execute against the demo DB. clean — emit the matching DROP statements (default), or --execute. test — pytest + pyright the schema-emitting library code.

The default for apply/clean is emit only — print to stdout (or -o FILE) without touching the DB. Pass --execute to actually run the script. This makes the safe path the default; nothing accidentally drops a table.