Sha256: 1d45cbbab08aa78775af540d9382c84258eff647a0057781b0dda587bab105b9
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
require 'thor' require 'pp' module Jog class CLI < Thor desc "today", "Edit the log entry for today" def today Jog.edit( Jog.get_or_create_file( Time.now ) ) end desc "config", "Print the current configuration" def config puts "Config" puts "------" pp Jog.config puts puts "Template" puts "--------" puts Jog.template end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jog-0.0.3 | lib/jog/cli.rb |
jog-0.0.2 | lib/jog/cli.rb |