curviate campaign lint

Check a Sequence offline with the rules the API applies: a Campaign 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 campaign lint --file <file> [flags]

Examples

curviate campaign lint --file campaign.json

Flags

FlagTypeRequiredDescription
--filestringyesA Campaign 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: Campaign.