openregs defs
The defined terms that apply to a unit on a date, and what defines them.
For one unit and one as-of date, the terms it uses whose definitions were in force that day, each pointing at the unit that defines it and carrying that unit’s own words. Both ends must be in force: a definition that has been replaced is what the word used to mean, and a unit with no text on the date has no scope at all - that is refused (exit 1) rather than answered with an empty list. A term used here whose only definition is out of force is reported too, never dropped.
openregs defs [-h] --eid <eId> --as-of <date> [--regime <name>] [--work <work-key>] [--canon <path>] [--root <path>]| Option | |
|---|---|
--eid <eId> | the unit to compute the scope for, for example art_5__para_2 (required) |
--as-of <date> | the day to answer for, ISO 8601 (YYYY-MM-DD) (required) |
--regime <name> | which regime’s canon to read (default: the checkout’s only regime) |
--work <work-key> | disambiguate when more than one act in the canon declares this eId |
--canon <path> | read this canon directory instead of regimes/<regime>/canon |
--root <path> | read regimes/ under this directory instead of the checkout |
Rendered from openregs/openregs@cbe9615:tooling/openregs/cli/main.py