chant dev check-lexicon
Synopsis
Section titled “Synopsis”chant dev check-lexicon <dir> [--format json]Description
Section titled “Description”chant dev check-lexicon evaluates a lexicon directory against three tiers of completeness checks:
- Tier 1 (Required) — Must all pass. Exit code 1 on failure.
- Tier 2 (Recommended) — Warnings for missing features.
- Tier 3 (Thoroughness) — Informational, tracks depth of coverage.
The checks are pure filesystem checks — file presence, directory contents, and simple content inspection. No lexicon code is executed.
Options
Section titled “Options”| Flag | Description |
|---|---|
--format json | Output CheckResult as JSON instead of a colored table |
Example
Section titled “Example”# Check the AWS lexiconchant dev check-lexicon lexicons/aws
# Check with JSON output (for CI)chant dev check-lexicon lexicons/aws --format json
# Check current directorychant dev check-lexicon .Exit code
Section titled “Exit code”0— All tier-1 checks pass1— One or more tier-1 checks fail
See also
Section titled “See also”- Completeness Checklist — full tier reference
chant init lexicon— scaffold a new lexiconchant dev onboard— wire into CI