Harvester
A wrapper around hcl that provides a command line interface similar to Timetasker.
Usage
This command will submit a time entry of 4.5 hours for the “example” project:
$ harvester \
> --project example \
> --time 4.5 \
> --date 2018-01-31 \
> --description "Worked on Harvester"
Only the --project option is required. Project aliases are defined by hcl.
The --time option will default to 7 hours if not specified, and --date will
default to the current day.
Requirements
- hcl
- In order to use the
--dateoption, this patch to hcl is required.
Install
Mac OS X users can install Harvester with Homebrew:
$ brew install https://raw.githubusercontent.com/teddywing/harvester/master/Homebrew/harvester.rb
On other platforms, grab the code and put the harvester script in your PATH.
Bash completion for project aliases can be added by sourcing the
harvester.bash-completion file in your Bash profile.
License
Copyright © 2018 Teddy Wing. Licensed under the GNU GPLv3+ (see the included COPYING file).
