Intallation
go install github.com/diontr00/go-dochl@latest
Usage
Default Keywords: [todo, fixme, bug, hack ]
Any comment start with either of them (case insensitive) will be highlighted and extracted into and print toward stdout.
Using with pre-commit:
repos:
- repo: https://github.com/diontr00/go-dochl
rev: latest
hooks:
- id: go-dochl
args: [--keys="TODO,FIX,HACK"] # optional