3 releases
0.1.2 | Jul 20, 2023 |
---|---|
0.1.1 | Jul 20, 2023 |
0.1.0 | Jul 20, 2023 |
#32 in #format-json
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
~16MB
~340K SLoC