curviate motion lint
Check a Sequence offline with the rules the API applies: a Motion file (its sequence) or a bare Sequence document. One line per finding, <file>:<line>:<col> error\|warning <code> <path>: <message>. <hint> -> <docs_url>; exit 2 on any error, 0 otherwise.
Usage
curviate motion lint --file <file> [flags]Examples
curviate motion lint --file motion.jsonFlags
| Flag | Type | Required | Description |
|---|---|---|---|
--file | string | yes | A Motion file or a Sequence document: a path, or - to read it from stdin. |
Also accepts these global flags: --json.
Exit codes: the exit code table. More commands: Motion.