0.1.1 • Published 4 years ago

generous-harvester v0.1.1

Weekly downloads
60
License
MIT
Repository
github
Last release
4 years ago

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)