Skip to content

CLI reference

Every command of the openregs CLI, generated from the parser in tooling/openregs/cli/main.py at cbe9615 — never transcribed, so a flag cannot change without this page changing with it.

openregs [-h] [--version] <command> ...
Global option
--versionprint the version, the schema majors this build reads, and the build commit (default ==SUPPRESS==)
Command
openregs validatevalidate a document against its schema in spec/schemas/
openregs resolvefollow superseded_by pointers from a retired id to the current one
openregs ingestpoll sources, durably enqueue what they discover, then advance their cursors
openregs replayre-run the transform over stored snapshots, rewriting only what changed
openregs fetch-expressioncapture one sibling language Expression of a Work already in canon
openregs normalizemap a captured source document to Akoma Ntoso and report the mapping
openregs amendmentsread an amending act’s instructions as structured operations
openregs quarantinework the queue of documents a validation gate held for a person
openregs consolidateapply an amending act to a base Expression and write the point-in-time text
openregs verifycheck that stored artefacts still match the digests they are stored under
openregs indexwork with cross-regime index combinations
openregs graphwork with a regime’s cross-reference graph
openregs defsthe defined terms that apply to a unit on a date, and what defines them
openregs atomizepropose obligation atoms from a unit, on a branch, for a human to review
openregs textthe text of a unit on a date, on either time axis
openregs reviewthe review workflow: protect a branch, approve, report checks, merge
openregs releasebuild a dated content release from the canon at one commit
openregs diffwhat changed between two built releases of one regime
openregs coveragethe auditor-facing coverage report for one control mapping
openregs evalscore a release against the adversarial retrieval eval
openregs feedthe outbound release feed: subscriptions, webhooks, JSON and RSS
openregs serveanswer questions over a release, with citations, on HTTP
openregs pullvendor a release from a registry, verifying it before it is unpacked
openregs backupback up and restore the two stores that are not a function of a commit
openregs impactwhat moving between two releases does to a control mapping
openregs bumpopen the release-bump pull request in a consuming repository
openregs compilecode-generate typed constants from a release’s executable blocks

Rendered from openregs/openregs@cbe9615:tooling/openregs/cli/main.py