go get -u github.com/blackdev1l/goTrack/cmd/goTrack
goTrack i[nit] inside the top level of a git repo with the remote hosted on github
this will install a pre-commit hook which will scan the diff before a commit and create an issue when it will find a "TODO" in a comment.
note: you will need a github authorization token, you can create one here
Authorization token will be read by the environment variable GOTRACK
- for bash users: `echo 'export GOTRACK= >> ~/.bashrc'
- for zsh users: `echo 'export GOTRACK= >> ~/.zshrc'
You can use any kind of comment tag, the only thing it matters is that you will use the word "TODO" in caps lock, otherwise it will be ignored.
Todo tags will be parsed this way:
TODO <title> - <label> - <assignee> other stuff after that will be ignored.
- Api for github
- Api for Google calendar
- Time Tracker
- Git hooks
- settings
goTrack init<-- this initialize the repo installing git hooks- git hook -> pre-commit: Parses all the project and create issues with all specific tags and such
goTrack list<-- show all the issues in this repo with their ID
TODO <title> <labels> <assignee>
Example: // TODO finish this readme - enhancement - me
this will create an issue with title "finish this readme" , labeled "enhancement" and assigned to my user