lib/relish/commands/config.rb in relish-0.0.9 vs lib/relish/commands/config.rb in relish-0.1.0
- old
+ new
@@ -1,14 +1,10 @@
module Relish
module Command
class Config < Base
desc 'display the contents of your options file'
- command :default => :show
-
- usage 'config:show'
- desc 'display the contents of your options file'
- command :show do
+ command :default do
puts(if File.exists?(Relish.local_options_file)
IO.read(Relish.local_options_file)
else
"No #{Relish.local_options_file} file exists"
end)
\ No newline at end of file