generous-harvester

0.1.1 • Public • Published

Harvester

Utility to log on harverst what you've been up to, so you dont forget your timers

Automatically log to Harvest when run yarn harvest;
push a new timer for each run under different commit.

Environment Variables:

HARVEST_ENABLE=false
 
# required (if HARVEST_ENABLE=true) 
HARVEST_TOKEN=
 
# required (if HARVEST_ENABLE=true) 
HARVEST_USER=

Usage

in package.json

{
  "name": "your-app",
  "scripts": {
    "prestart": "harvest --project=### --task=### --jira PRJ"
  }
}

Tips

  • Follow branch naming convetions for optimal result: {task}/{Ticket}/branch-name
  • Generate an API token, (HARVEST_TOKEN) at https://id.getharvest.com/developers
  • The project ID, and task, you can find inspecting the network of the harvest (in jira, or in harvest)

Readme

Keywords

none

Package Sidebar

Install

npm i generous-harvester

Weekly Downloads

14

Version

0.1.1

License

MIT

Unpacked Size

6.43 kB

Total Files

9

Last publish

Collaborators

  • chrislion