Updated
Reference for the selfdoc check command — usage, flags, arguments, and examples for the check subcommand of the selfdoc CLI.
#selfdoc check
Check documentation coverage, directive resolution, and lint rules
Effect: mutating
#Flags
| Name | Short | Type | Presence | Env | Description |
|---|---|---|---|---|---|
--ignore | str | optional | Comma-separated SEO codes to suppress (e.g., SEO007,SEO008) | ||
--auto-commit, --no-auto-commit | bool | optional | Automatically commit updated content hash tracking files to git after checking. Omitted, it commits; pass --no-auto-commit to leave them uncommitted | ||
--version-override | str | optional | Project version that version-bearing generated content is expected to embed (VER004), instead of the version currently recorded in the project manifest (VERSION, pyproject.toml or package.json). Pass the same value given to 'selfdoc gen --version-override' so the check runs correctly in the release window between generation and the version bump |