A pre-commit hook for doccmd.
To run doccmd with pre-commit,
add hooks like the following to your .pre-commit-config.yaml:
- repo: https://github.com/adamtheturtle/doccmd-pre-commit
rev: v2026.3.1
hooks:
- id: doccmd
args: [
"--language",
"shell",
"--command",
"shellcheck --shell=bash",
]
additional_dependencies: ["shellcheck-py"]