aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-03-01Update Homebrew formula for v0.2.0HEADmasterTeddy Wing
2018-03-01Increase version v0.1.0 -> v0.2.0v0.2.0Teddy Wing
2018-03-01Merge branch 'update-module'Teddy Wing
2018-02-28harvester: Add `--update-module` flagTeddy Wing
This new flag provides an interface to update the current sprint (or "module" or "task") of a project. Running a command like: $ harvester -p proj --update-module will open `pick` with the list of tasks for that module. The task chosen from the given list becomes the new sprint associated with the project alias. This makes it much easier to update sprints. Move error handling into the more general `exit_with_error` function to exit with a default error message prefix. The error message is also now printed to STDERR, which is more standard, and wasn't the case before.
2018-02-12Update Homebrew formula for v0.1.0Teddy Wing
2018-02-12Increase version v0.0.1 -> v0.1.0v0.1.0Teddy Wing
2018-02-12Add CHANGELOGTeddy Wing
2018-02-12Merge branch 'add-version-option'Teddy Wing
2018-02-12harvester: Add version flagTeddy Wing
Provide a way to display the program version from the script.
2018-02-12Merge branch 'implement-list-modules'Teddy Wing
2018-02-12harvester: Implement the `--list-modules` flagTeddy Wing
When given with a project (project must come first in the argument list), a list of all the modules (known as "tasks" in Harvest speak) will be printed to the console, filtered from a list fetched by 'hcl'. With no project argument, all tasks for all projects will be printed.
2018-01-31Add Homebrew formulaTeddy Wing
Add a formula to enable easy installation through Homebrew. Include some installation documentation in the README.
2018-01-31Add READMEv0.0.1Teddy Wing
Include a description, usage information, prerequisite requirements, and license info.
2018-01-31Add license (GNU GPLv3+)Teddy Wing
2018-01-28harvester: Use a default time of 7 hoursTeddy Wing
If no time is passed in, default it to 7 hours.
2018-01-28Add harvester.bash-completionTeddy Wing
A Bash completion function to complete project file names. Doesn't work with the `--project=` form as I couldn't figure out how to get it to do that in an easy way so finally decided not to bother because I don't use that form anyway.
2018-01-27harvester(hcl_log): Call `hcl` and log timeTeddy Wing
2018-01-27harvester: Construct arguments to 'hcl'Teddy Wing
Add a new function `hcl_log` that turns the project, time, date, and description arguments into the format the 'hcl' program expects.
2018-01-27harvester(main): Delete old commented codeTeddy Wing
This was an initial idea for command line argument parsing, but the `case` statement turned out to be better.
2018-01-27harvester: Print usage on `--help`Teddy Wing
2018-01-27harvester: Delete `get_value` functionTeddy Wing
Not using this. I had added it as a possible way to handle both `-p` and `--project=aproject`-style variables at the same time, but it didn't seem like I'd be able to do that, which is why I now have two case branches per option.
2018-01-27Add 'harvester'Teddy Wing
Initial work on a Bash script that will become the Timetasker for Harvest (using the 'hcl' command line utility). Here we set up some basic option parsing thanks to this Stack Overflow answer from 6EQUJ5: https://stackoverflow.com/questions/22394407/handling-flags-for-a-shell-script-without-getopts/22395652#22395652 In it, a way to parse command-line options is described that works for both short and long flags. We'll be using these values to call out to 'hcl'.