Preflight

← Docs

CLI reference

In beta. The CLI ships alongside the public-API beta and is distributed to beta participants — it is not yet on the public npm registry. Request access.

Install the CLI and run your first check.

preflight login                  # paste your pfk_ key
preflight check statement.pdf    # human-readable result
preflight check statement.pdf --format sarif > results.sarif
preflight batch ./mailing/*.pdf  # a regression-diff batch
preflight ci dist/**/*.pdf       # CI mode (calibrated exit codes)

Output formats

Exit codes

CI integration →

CLI Reference — Preflight · Preflight