openregs validate
Validate a document against its schema in spec/schemas/.
openregs validate [-h] [--release <regime>@<tag>] <kind> <path> [<path> ...]| Argument | |
|---|---|
<kind> | document kind (atom, branch-protection, controls, deprecations, embeddings, entity-types, index-combination, log-record, maintainers, release-meta, scope, sources, sources-lock, trust, unit-meta) (required, one of atom, branch-protection, controls, deprecations, embeddings, entity-types, index-combination, log-record, maintainers, release-meta, scope, sources, sources-lock, trust, unit-meta) |
<path> | (required, one or more) |
| Option | |
|---|---|
--release <regime>@<tag> | for kind controls: resolve atom ids against this release instead of the one the file itself pins |
Rendered from openregs/openregs@cbe9615:tooling/openregs/cli/main.py