diff options
| author | Zack Hobson | 2013-11-19 12:04:58 -0800 |
|---|---|---|
| committer | Zack Hobson | 2013-11-19 12:04:58 -0800 |
| commit | ee7d23e5a2ad970512ba4bed7aee4e5211b12d66 (patch) | |
| tree | eac89893fd85fd15c544b742d27df9493a9cde03 /lib | |
| parent | 9b09db55bae0bf9c20e07c4d939c639e6373640e (diff) | |
| download | hcl-ee7d23e5a2ad970512ba4bed7aee4e5211b12d66.tar.bz2 | |
Update docs and version 0.4.3
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hcl/app.rb | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/lib/hcl/app.rb b/lib/hcl/app.rb index 6179d18..585ea79 100644 --- a/lib/hcl/app.rb +++ b/lib/hcl/app.rb @@ -31,7 +31,7 @@ class Net::HTTP end module HCl - VERSION = "0.4.2" + VERSION = "0.4.3" class App include HCl::Utility @@ -103,31 +103,34 @@ Commands: # show all available tasks hcl tasks - # set a task alias - hcl alias <task> <project_id> <task_id> + # create a task alias + hcl alias <task_alias> <project_id> <task_id> # list task aliases hcl aliases # start a task using an alias - hcl @<task> [+time] [message] + hcl [start] @<task_alias> [+<time>] [<message>] - # display the daily timesheet - hcl show [date] + # add a line to your running timer + hcl note <message> # stop a running timer - hcl stop [message] + hcl stop [<message>] - # resume the last stopped timer - hcl resume + # resume the last stopped timer or a specific task + hcl resume [@<task_alias>] - # add a line to your running timer - hcl note <message> + # delete the current or last running timer + hcl (cancel | oops | nvm) + + # display the daily timesheet + hcl [show [<date>]] Examples: hcl alias mytask 1234 4567 hcl @mytask +:15 Doing a thing that I started 15 minutes ago. - hcl Adding a note to my running task. + hcl note Adding a note to my running task. hcl stop That's enough for now. hcl resume hcl show yesterday |
