https://github.com/cpl/todo
A todo generator built in Python
https://github.com/cpl/todo
comments documentation helper python todo
Last synced: 5 months ago
JSON representation
A todo generator built in Python
- Host: GitHub
- URL: https://github.com/cpl/todo
- Owner: cpl
- License: other
- Created: 2017-08-14T19:25:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-15T08:20:10.000Z (almost 9 years ago)
- Last Synced: 2025-08-28T05:50:52.612Z (10 months ago)
- Topics: comments, documentation, helper, python, todo
- Language: Python
- Homepage: https://thee-engineer.github.io/todo/
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
todo
========
###### Simple TODO list generator
### Why
Because i couldn't find any other tool to do (pun unintended) this. Also i
found it annoying to `Ctrl+F` (`Cmd+F`) all the time or run project wide
searches every 2 minutes.
### How
Well, code is a bit dirty and the ignore list is hardcoded, but it is
OpenSource so be my guest and improve it (Could use some regex). The script
cheks for an existing `.git` directory, finds the user and repo (this way it
creates links to the GitHub file and line) and then searches for the `# TODO`
tag in all source files. Feel free to change it to `// TODO` and `.c`.
### Install
Option 0:
```
pip install todo2
```
Option 1:
```
git clone git@github.com:thee-engineer/todo.git
cd todo
pip install .
```
### Use
Go into your git project folder, run the `todo` command, and then look at your
awesome `TODO.md` file. Add it, commit it, push it, look at it, click on it.
```
cd my_git_project
todo
git add TODO.md
git commit -m "Add TODO.md"
git push
```
### Contribution
Add whatever. Right know the project could use (but I don't want to invest
the time):
- [ ] Regex matches for gitignore rules
- [ ] CL Arguments (this way more feature can be implemented)
- [ ] Option for non-git projects
- [ ] Branch checking
- [ ] Local file links
- [ ] TODO completion check and comment removal
### Support the developer
Buy me a beer or something, donations are welcome.

[](https://www.patreon.com/theeengineer)