cli
Use case
The default, always-on output: what you see when you run cmt interactively,
and (when --report is set) what gets written to output.last in the cmt
directory - a snapshot of the last run, without ANSI color, for a
non-interactive read-back.
Configuration
outputs:
- name: cli
type: cli
format: short # short (default) | fullformat: full is the same thing -l/--long forces for a single run
(overrides format: when passed).
Output
- short (default) - one line per check: status, module, name, message.
- full - every
CheckItemon its own line, plus alert state, per check.
A run summary line always follows: per-severity counts, percent OK, and the overall worst severity for the run.
Example
cmt --conf dev/conf.yml # short format
cmt --conf dev/conf.yml -l # long/detailed format