Skip to content

lucasconstantino/harvest-cli

Repository files navigation

harvest-cli

Unofficial Harvest CLI focused on time-tracking creation.

oclif Version Downloads/week License Build Status coverage

Usage

$ npm install -g harvest-cli
$ harvest COMMAND
running command...
$ harvest (-v|--version|version)
harvest-cli/0.1.10 linux-x64 node-v10.5.0
$ harvest --help [COMMAND]
USAGE
  $ harvest COMMAND
...

Commands

harvest help [COMMAND]

display help for harvest

USAGE
  $ harvest help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

harvest log

Log time

USAGE
  $ harvest log

DESCRIPTION
  ...
  Registers a new time-tracking log

log

See code: lib/commands/log/index.js

harvest log:git REF

Log from Git

USAGE
  $ harvest log:git REF

ARGUMENTS
  REF  [default: HEAD^..HEAD] a valid git reference to use as source

DESCRIPTION
  ...
  Registers a new time-tracking log using Git commit messages as notes

log

See code: lib/commands/log/git.js

harvest log:list

List

USAGE
  $ harvest log:list

OPTIONS
  -x, --extended       show extra columns
  --columns=columns    only show provided columns (comma-separated)
  --csv                output is csv format
  --filter=filter      filter property by partial string matching, ex: name=foo
  --no-header          hide table header from output
  --no-truncate        do not truncate output to fit screen
  --page=page          [default: 1] page to load
  --per-page=per-page  [default: 10] entries per page
  --sort=sort          property to sort by (prepend '-' for descending)

DESCRIPTION
  ...
  Lists time-tracking log entries

log

See code: lib/commands/log/list.js

Not official

This project is not official, has no participation from the Harvest team, has to commercial purpose, and cannot respond for issues related to the Harvest company. If you work at Harvest and think this project is anyhow inappropriate, please contact me. Also, if you work at Harvest and think you can benefit from the name harvest-cli, also contact me and I'll be glad to make it available.