A simple command line tool which helps you to quickly capture what you've done at the end of the day. All points are saved in a monthly markdown file. Points entered during one day are gathered under this day's date.
- Install gsed
brew install gnu-sed
- Install pandoc
brew install pandoc
- Install pdflatex
brew cask install basictex
TODO
* clone
* chmod
* add to path
- Run
dailog
in your terminal - Enter your points line by line (hit
enter
at the end of each line) - Exit with
CTRL + d
currently supports only Mercurial
- Navigate to the project you would like to log
- Run
dailog hg
- Today's commit messages will be added to dailog
Run dialog preview
to quickly preview current month's log.
Run dialog edit
to edit last or current month's log. Chose from the menu which month's log you want to edit.
Run dialog pdf
to export last or current month's log to pdf. Chose from the menu which month's log you want to edit. After the pdf is created, the file opens automatically via Mac OS Preview.
Warning: pdf export depends on pandoc being correctly installed on your computer.
dailog creates a folder with its name in root directory of the current user. All markdown and pdf files are being added to this directory.
Depending on the current date dailog will create a markdown file for the current month if it does not exit: yyyy-mm.md
. It will append daily acitivities to the current section for the currenday)
# 2016-11
## 2016-11-01 (Tuesday)
- Some task
- Some other task
## 2016-11-02 (Wednesday)
- Some commit message
- Some other commit message
Why dailog and not daylog?
Initialy the script was called daylog. After trying it for a couple of days I was consistently mistyping and almost always ended up with dailog. Probably the word daily which is being typed very often is to blame :)
- Add installation steps
- Add pandoc installation steps
- Add github log feature
- Add configuration, i.e. to store github/mercurial username for filtering
- Add project specific logs