diff options
| -rw-r--r-- | .document | 2 | ||||
| -rw-r--r-- | HACKING.markdown | 6 | ||||
| -rw-r--r-- | Rakefile | 5 | ||||
| -rw-r--r-- | lib/hcl/app.rb | 5 | 
4 files changed, 13 insertions, 5 deletions
| @@ -1 +1 @@ ---files CHANGELOG +- CHANGELOG HACKING.markdown diff --git a/HACKING.markdown b/HACKING.markdown index a2066b8..b158189 100644 --- a/HACKING.markdown +++ b/HACKING.markdown @@ -14,3 +14,9 @@ To run HCl in place (e.g. for testing out local changes) you can use bundle exec      bundle exec bin/hcl +## Generating API documentation + +To generate and view the API documentation: + +    rake doc +    open doc/index.html @@ -9,7 +9,6 @@ end  task :default => :test  require 'yard' -YARD::Rake::YardocTask.new do |t| -  t.options = %w[--files CHANGELOG] -end +YARD::Rake::YardocTask.new +task :doc => :yard diff --git a/lib/hcl/app.rb b/lib/hcl/app.rb index c86e3c5..970bd6d 100644 --- a/lib/hcl/app.rb +++ b/lib/hcl/app.rb @@ -87,12 +87,15 @@ Commands:      # start a task using an alias      hcl [start] @<task_alias> [+<time>] [<message>] -    # add a line to your running timer +    # add a line to a running timer      hcl note <message>      # stop a running timer      hcl stop [<message>] +    # log a task and time without leaving a timer running +    hcl log @<task_alias> [+<time>] [<message>] +      # resume the last stopped timer or a specific task      hcl resume [@<task_alias>] | 
