Skip to content

openregs amendments

Read an amending act’s instructions as structured operations.

Turn each amendment instruction of an amending act into a structured operation - replace, insert, delete or renumber - naming the unit of the base act it acts on. Instructions the parser cannot confidently interpret are emitted with low_confidence set and their own words carried verbatim, never guessed at. Pure: no network, no clock, no randomness.

openregs amendments [-h] --base <dir> [--language <code>] [--output <path>] <path>
Argument
<path>the amending act, in any format a mapper owns or already in Akoma Ntoso (required)
Option
--base <dir>canon Expression directory of the act being amended, whose eIds targets bind to (required)
--language <code>language whose instruction wording to read (default: eng) (default eng)
--output <path>, -o <path>write the operations here as JSON (’-’ for stdout); default: do not write them

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