kenglxn / timeshit

Helper util to import csv from skd report to tripletex friendly hours per day

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timeshit

Leser csv filer eksportert fra TidBank detaljert rapport og skriver ut timeføringsposter i tripletex vennlig format

Usage

  • Først last ned en csv rapport detaljert pr dag.

  • Så les in filen med timeshit

    $ timeshit read <PATH_TO_CSV>

Du kan også filtrere på oppgave, dersom det er ønskelig med --filter option:

$ timeshit read <PATH_TO_CSV> --filter 4010

Demo

Demo gif

Installation

You can install the from rubygems with:

$ gem install timeshit

Or if you want/need to build it yourself:

Clone:

$ git clone https://github.com/kenglxn/timeshit.git

Then build with:

$ gem install bundler
$ bundle install
$ rake build
-> timeshit 0.0.1 built to pkg/timeshit-0.0.2.gem.

And then install:

$ gem install pkg/timeshit-0.0.2.gem

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kenglxn/timeshit.

About

Helper util to import csv from skd report to tripletex friendly hours per day


Languages

Language:Ruby 97.5%Language:Shell 2.5%