| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Provide a way to display the program version from the script.
|
|
|
|
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.
|
|
Add a formula to enable easy installation through Homebrew. Include some
installation documentation in the README.
|
|
Include a description, usage information, prerequisite requirements, and
license info.
|
|
|
|
If no time is passed in, default it to 7 hours.
|
|
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.
|
|
|
|
Add a new function `hcl_log` that turns the project, time, date, and
description arguments into the format the 'hcl' program expects.
|
|
This was an initial idea for command line argument parsing, but the
`case` statement turned out to be better.
|
|
|
|
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.
|
|
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'.
|