3 releases

0.1.2 Jul 20, 2023
0.1.1 Jul 20, 2023
0.1.0 Jul 20, 2023

#2777 in Command line utilities

Download history 25/week @ 2024-02-24 4/week @ 2024-03-02 2/week @ 2024-03-09 52/week @ 2024-03-30 13/week @ 2024-04-06

65 downloads per month

MIT license

11KB
140 lines

git-todo-collector

collect todo or others from a git code repo

Install

cargo install git-todo-collector

Run

# find in current, output as table
git-todo-collector
# output table with other rpeo
git-todo-collector -r ./some-git-repo-path
# json
git-todo-collector -r ./some-git-repo-path --format json
# html
git-todo-collector -r ./some-git-repo-path --format html > git-todos.html

work with jq

git-todo-collector --format json | jq ''

the output

{
  "path": "src/main.rs",
  "lineno": 10,
  "commit": "36adbd3",
  "author": "alingse <alingse@foxmail.com>",
  "datetime": "2023-07-20 00:50:44 +08:00"
}
{
  "path": "src/main.rs",
  "lineno": 11,
  "commit": "36adbd3",
  "author": "alingse <alingse@foxmail.com>",
  "datetime": "2023-07-20 00:50:44 +08:00"
}
{
  "path": "src/main.rs",
  "lineno": 12,
  "commit": "36adbd3",
  "author": "alingse <alingse@foxmail.com>",
  "datetime": "2023-07-20 00:50:44 +08:00"
}

Dependencies

~17MB
~367K SLoC