hmp check#
Uses hmp.check().
$ hmp check [-h] [-w WORKSPACE] [--format {table,json,csv}] [--verbosity {quiet,normal,verbose,debug} | -q | -v | --debug] [--partial] [--inputs] [--lang {en,fr}] [--overlay OVERLAY] [--set PATH=VALUE] fileCheck a run, a calibration or a whole [sites] project, every fault at once
| Argument | What it does |
|---|---|
file | Path to the TOML configuration |
--partial | Check a draft: a required key not written yet is to_fill, not an error |
--inputs | Also read the header of each input file, local or by its final URL (downloads nothing) |
--lang LANG | Language of the phrase of each diagnostic (default: en) one of en | fr |
Also takes the shared options --workspace --format --verbosity --quiet --verbose --debug --overlay --set.
Examples
$ hmp check run.toml $ hmp check draft.toml --partial $ hmp check calibration.toml -v $ hmp check project.toml --inputs --lang fr $ hmp check project.toml --overlay sites/canut.toml
Every fault is listed at once, one line each. A key the file does not write yet is an error, or with --partial a to_fill that stops nothing. A calibration is read by its preflight and says which published method it runs and where it departs from it (-v adds the stages and the references). The last one expands a [sites] project and checks every case. -v also says which workspace the file resolves to, with its folders.
Exit codes it sets itself: 10 14. All exit codes.