lib/jog/cli.rb in jog-0.0.3 vs lib/jog/cli.rb in jog-0.0.4
- old
+ new
@@ -1,22 +1,21 @@
require 'thor'
require 'pp'
+require 'colored'
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 "------"
+ puts "Config".green.underline
pp Jog.config
puts
- puts "Template"
- puts "--------"
+ puts "Template".green.underline
puts Jog.template
end
end
end