CLI Reference
Installation
Release
Since release 0.10.0, assertions-mate is a transpiler-mate plugin.
The standalone command was removed; use transpiler-mate assertions-mate.
The Python library remains available.
pip install transpiler-mate-runtime "assertions-mate>=0.10.0"
Command
assertions-mate --inputs INPUTS WORKFLOW
Arguments
WORKFLOW(required): path to a CWL workflow file
Options
--inputs(required): path to input values (YAML)
Behavior
- Loads CWL document(s) from
WORKFLOW. - Extracts supported assertion hints from each workflow's
hints. - Builds validator instances from each hint.
- Validates provided
INPUTS. - Logs all violations.
Execution Model
- Hint setup is best-effort per hint type.
- If one hint fails during setup, others can still run.
- Violations are reported by validator as structured log lines.
Error Classes
- CWL load/parse errors: command stops before validation.
- Hint setup errors: failing hint is skipped, process continues.
- Validation violations: reported per validator and per rule/query pointer.
Exit and Output Notes
- The command emits validation information through logs.
- Validation failures are reported as error log lines that include pointer and detail text.
- Current behavior may still complete with exit code
0when violations are reported; use log inspection in automation if strict failure semantics are required.