diff options
| author | Zack Hobson | 2009-07-19 11:43:51 -0700 |
|---|---|---|
| committer | Zack Hobson | 2009-07-19 11:43:51 -0700 |
| commit | 36510ce224ac6f1594d6fa21977a2f62f5f41e4e (patch) | |
| tree | 97aa7ed8b214f3dc506622b50e243bc23392d9f1 /README.markdown | |
| parent | 490035c83e9518ac8dfdf86c9ef931bcbdd8d47a (diff) | |
| download | hcl-36510ce224ac6f1594d6fa21977a2f62f5f41e4e.tar.bz2 | |
documented show command
Diffstat (limited to 'README.markdown')
| -rw-r--r-- | README.markdown | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown index b44b416..9500870 100644 --- a/README.markdown +++ b/README.markdown @@ -6,11 +6,11 @@ HCl is a command-line tool for interacting with Harvest time sheets using the ## Quick Start NOTE This software is nowhere near complete. Currently the only implemented -feature is a simple view of today's timesheet. To try it out: +feature is a simple view of any daily timesheet. To try it out: $ cp hcl_conf.yml.example hcl_conf.yml $ $EDITOR hcl_conf.yml - $ ./bin/hcl show + $ ./bin/hcl show [date] ### Prerequisites @@ -29,6 +29,17 @@ NOTE only the show command is implemented hcl start <project> <task> [msg] hcl stop [msg] +### Examples + +You express dates in a variety of ways. See the [Chronic documentation][3] +for more information about available date input formats. The following +commands show the timesheet for the specified day: + + $ hcl show yesterday + $ hcl show last friday + $ hcl show 2 days ago + $ hcl show 1 week ago + ## TODO * Implement time-tracking API methods: @@ -45,4 +56,5 @@ NOTE only the show command is implemented [1]: http://www.getharvest.com/api/time_tracking [2]: http://github.com/aiaio/harvest/tree/master +[3]: http://chronic.rubyforge.org/ |
