Skip to content

kirkkala/harvest-tracking

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Harvest tracking

A nodejs tool to track Harvest time for an overview of logged hours balance.

Screenshot of harvest-tracking npm run calc command

Instructions

  • Copy .env.example as .env
    • Modify as needed, comments in the file should explain
  • Install dependencies npm i
    • Works at least with node versions 12 and 14, node version 16 fails due to harvest (deprecated v1) lib.
  • Run the script: npm run calc
    • Without parameters the balance is checked from the first day of current year to current date
    • The dates can be adjusted with from and/or to arguments using format YYYY-MM-DD
      • e.g. npm run calc -- --from=2022-02-01 --to=2022-02-28

TODO

  • Change harvest to version 2
  • Update all libraries

About

Script to track Harvest time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.3%
  • Shell 18.7%