lib/dri/commands/publish.rb in dri-0.1.3 vs lib/dri/commands/publish.rb in dri-0.2.0
- old
+ new
@@ -3,19 +3,18 @@
require 'thor'
module Dri
module Commands
class Publish < Thor
-
namespace :publish
desc 'report', 'Generate a report'
method_option :dry_run, type: :boolean,
- desc: 'Generates a report locally'
- method_option :format, aliases: '-f', type: :string, :default => "table",
- desc: 'Formats the report'
+ desc: 'Generates a report locally'
+ method_option :format, aliases: '-f', type: :string, default: "table",
+ desc: 'Formats the report'
method_option :actions, type: :boolean,
- desc: 'Updates actions on failures'
+ desc: 'Updates actions on failures'
def report(*)
if options[:help]
invoke :help, ['report']
else
require_relative 'publish/report'