Skip to content

mmateja/harvest_overtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gem Version Build Status Test Coverage Maintainability

harvest_overtime

Simple command-line tool for tracking overtime in Harvest

Requirements

  • Ruby (version 2.3 or higher)

Installation

>> gem install harvest_overtime

Configuration

  1. Create Personal Access Token for Harvest API on https://id.getharvest.com/developers.
  2. Set HARVEST_ACCOUNT_ID and HARVEST_TOKEN environment variables to values generated in Harvest.

Usage

>> overtime [number_of_months]

Sample output:

Month               Business hours      Billed hours        Overtime
2017-09             168                 197.2               29.2
2017-10             176                 167.3               -8.7
2017-11             144                 125.0               -19.0

Total overtime: 1.5 hour(s) -> 0 day(s)

About

Script for tracking overtime in Harvest

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages