WorkCalculator

Simple command line calculator that tells you the number of full elapsed days worked within a given period.

Installation

$ gem install work_calculator

Usage

Super easy to use. From your terminal run:

$ work_calculator run --start 01/11/2015 --finish 03/11/2015

Will print 1 day worked.

For help, simply enter:

$ work_calculator

Testing

Pull the project from github

$ git clone https://github.com/den10/work_calculator
$ cd work_calculator

And then execute:

$ bundle

Finally run:

$ rake

Contributing

  1. Fork it ( https://github.com/den10/work_calculator/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request