lib/cli.rb in trollolo-0.0.11 vs lib/cli.rb in trollolo-0.0.12
- old
+ new
@@ -142,20 +142,20 @@
destdir = File.join(options['output'], name)
else
destdir = name
end
chart = BurndownChart.new @@settings
- if ! File.directory?(destdir)
+ if !File.directory?(destdir)
chart.setup(destdir, board["boardid"])
end
chart.update({'output' => destdir, plot: options[:plot]})
end
end
desc "burndown-init", "Initialize burndown chart"
option :output, :aliases => :o, :desc => "Output directory", :required => true
option "board-id", :desc => "Id of Trello board", :required => true
- def burndown_init command=nil
+ def burndown_init command = nil
process_global_options options
require_trello_credentials
chart = BurndownChart.new @@settings
puts "Preparing directory..."