This is a go example of a program that can be used to finds todos inside your code comment blocks using Script Go library.
script is a Go library for doing the kind of tasks that shell scripts are good at: reading files, executing subprocesses, counting lines, matching strings, and so on.
Finding todos in a directory:
go run main.go ./path/to/directory
- Save Results to File
- Use Gitignore to ignore files
- Switch to Cobra for the CLI
- Support JSON/Yaml Output
If you come across any bugs, feel free to file a bug report. Contributions are also welcome.