Crates.io | git-todo-collector |
lib.rs | git-todo-collector |
version | 0.1.2 |
source | src |
created_at | 2023-07-20 16:34:20.274658 |
updated_at | 2023-07-20 17:44:06.946809 |
description | collect TODO: items from git code repo |
homepage | |
repository | |
max_upload_size | |
id | 921513 |
size | 32,116 |
collect todo or others from a git code repo
cargo install git-todo-collector
# 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
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"
}