Generated from mops check --help by ./gradlew :cli:updateReference. Do not edit this page. Global options are listed
in the index.
Run MPS checks.
Usage: mops check [-h] [COMMAND]
Run MPS checks.
Commands:
model Run MPS's full model check over one model.
module Run MPS's full check over one or more project modules.
project Run MPS's full check over every project module and its models.
help Display help information about the specified command.
Options:
-h, --help Show this help message and exit.
Run MPS's full model check over one model.
Usage: mops check model [-h] [--format=FORMAT] [--limit=N] MODEL_TARGET
Run MPS's full model check over one model and report the findings.
Parameters:
MODEL_TARGET Model name or serialized model reference.
Options:
--format=FORMAT How to print findings: human (a readable list
sorted by severity, then # metadata lines;
default) or jsonl (one finding object per line,
then a summary record).
-h, --help Show this help message and exit.
--limit=N Maximum findings to report, most severe first.
Defaults to 20 so a broken model does not flood
the output; 0 means unlimited.
The check covers typesystem, model, module, and checking rules. Findings print
most severe first. Text output is one tab-separated row per finding (severity,
message, and for a node-level finding the node's name, concept, and reference),
followed by `#` metadata lines: `# checked <roots>: <errors>, <warnings>,
<infos>` (or `# checked <roots>: no findings`) and, when --limit cut the list,
`# truncated: showing <shown> of <total> findings; pass --limit 0 for all`. See
`mops explain output`.
--format jsonl prints one finding object per line and ends with a summary
record, {"type":"summary",...}, with a field for every summary fact; the record
itself is the full list. Read total and errors for the full result and
truncated for whether --limit cut the list; a truncated record also has a hint
naming --limit 0. Findings have no type field.
The totals and the exit code cover every finding, not only the shown ones, in
both formats. The command exits 1 when any finding is an error and 0 for
warnings and infos alone. A selection with no root nodes has nothing to check:
the command prints an error to stderr, no findings or summary, and exits 1.
Run MPS's full check over one or more project modules.
Usage: mops check module [-h] [--format=FORMAT] [--limit=N] MODULE...
Run MPS's full check over one or more project modules and their models.
Parameters:
MODULE... Project module name or serialized reference.
Options:
--format=FORMAT How to print findings: human (a readable list
sorted by severity, then # metadata lines;
default) or jsonl (one finding object per line,
then a summary record).
-h, --help Show this help message and exit.
--limit=N Maximum findings to report, most severe first.
Defaults to 20 so a broken model does not flood
the output; 0 means unlimited.
The check covers typesystem, model, module, and checking rules. Findings print
most severe first. Text output is one tab-separated row per finding (severity,
message, and for a node-level finding the node's name, concept, and reference),
followed by `#` metadata lines: `# checked <roots>: <errors>, <warnings>,
<infos>` (or `# checked <roots>: no findings`) and, when --limit cut the list,
`# truncated: showing <shown> of <total> findings; pass --limit 0 for all`. See
`mops explain output`.
--format jsonl prints one finding object per line and ends with a summary
record, {"type":"summary",...}, with a field for every summary fact; the record
itself is the full list. Read total and errors for the full result and
truncated for whether --limit cut the list; a truncated record also has a hint
naming --limit 0. Findings have no type field.
The totals and the exit code cover every finding, not only the shown ones, in
both formats. The command exits 1 when any finding is an error and 0 for
warnings and infos alone. A selection with no root nodes has nothing to check:
the command prints an error to stderr, no findings or summary, and exits 1.
Run MPS's full check over every project module and its models.
Usage: mops check project [-h] [--format=FORMAT] [--limit=N]
Run MPS's full check over every project module and its models.
Options:
--format=FORMAT How to print findings: human (a readable list
sorted by severity, then # metadata lines;
default) or jsonl (one finding object per line,
then a summary record).
-h, --help Show this help message and exit.
--limit=N Maximum findings to report, most severe first.
Defaults to 20 so a broken model does not flood
the output; 0 means unlimited.
The check covers typesystem, model, module, and checking rules. Findings print
most severe first. Text output is one tab-separated row per finding (severity,
message, and for a node-level finding the node's name, concept, and reference),
followed by `#` metadata lines: `# checked <roots>: <errors>, <warnings>,
<infos>` (or `# checked <roots>: no findings`) and, when --limit cut the list,
`# truncated: showing <shown> of <total> findings; pass --limit 0 for all`. See
`mops explain output`.
--format jsonl prints one finding object per line and ends with a summary
record, {"type":"summary",...}, with a field for every summary fact; the record
itself is the full list. Read total and errors for the full result and
truncated for whether --limit cut the list; a truncated record also has a hint
naming --limit 0. Findings have no type field.
The totals and the exit code cover every finding, not only the shown ones, in
both formats. The command exits 1 when any finding is an error and 0 for
warnings and infos alone. A selection with no root nodes has nothing to check:
the command prints an error to stderr, no findings or summary, and exits 1.