git-todo-collector

Crates.iogit-todo-collector
lib.rsgit-todo-collector
version0.1.2
sourcesrc
created_at2023-07-20 16:34:20.274658
updated_at2023-07-20 17:44:06.946809
descriptioncollect TODO: items from git code repo
homepage
repository
max_upload_size
id921513
size32,116
(alingse)

documentation

README

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"
}
Commit count: 0

cargo fmt