build_todo_db . >> ~/tododb.json
this creates a file with all the TODOs along with its metadata at ~/tododb.json
cat ~/tododb.json | jq -r '["commit_id", "line_no", "author", "time_in_epoch", "file_name", "todo_contents", "git_dir"],
(.[] | [.todo_context.commit_id, .todo_context.line_no, .todo_context.author, .todo_context.time_in_epoch, .todo_context.file_name, .todo_context.todo_contents, (.project_metadata.git_dir | tostring)])
| @csv' >> ~/todos.csv
creates a file called todos.csv
at home folder with all the metadata on TODOs