Check rule files (structure, and what this engine can run).
keryn rules lint [file|bundled:id ...]Options
Section titled “Options”Usage: keryn rules lint [file|bundled:<pack> ...] [--json] [--fail-on-unsupported] [-q] Inputs: YAML rules, gitleaks TOML configs, or bundled packs. Default target: bundled:aibom. Runs offline. --json Print the lint report as JSON. -q Suppress the text report. Exit 0: no errors and no requested coverage failure. Exit 1: invalid rules or gitleaks config. Exit 2: invalid arguments or unreadable input. Exit 3: unsupported or partially supported rules with --fail-on-unsupported. Exit 4: internal error.Examples
Section titled “Examples”# Check structure and support.keryn rules lint my-rules.yml
# Lint every bundled pack.keryn rules lint bundled:all --jsonExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
| 0 | no errors or requested coverage failure |
| 1 | invalid rules or gitleaks config |
| 2 | invalid arguments or unreadable input |
| 3 | unsupported or partially supported rules with –fail-on-unsupported |
| 4 | internal error |