diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hcl/commands.rb | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb index eb83dcd..250ec0e 100644 --- a/lib/hcl/commands.rb +++ b/lib/hcl/commands.rb @@ -79,6 +79,11 @@ module HCl        puts "Started timer for #{timer} (at #{current_time})"      end +    def log *args +      start *args +      stop +    end +      def stop *args        entry = DayEntry.with_timer || DayEntry.with_timer(DateTime.yesterday)        if entry | 
