samg / timetrap

Simple command line timetracker
http://rubygems.org/gems/timetrap
Other
1.48k stars 115 forks source link

Custom formatter read values from config file #136

Open beloso opened 8 years ago

beloso commented 8 years ago

is it possible to add some custom fields to .timetrap.yml

and read them from a custom formatter?

samg commented 8 years ago

It's totally possible. There's an example formatted which does just that at https://github.com/samg/timetrap_formatters/blob/master/formatters/invoice.rb