Class: Dri::Commands::Publish

Inherits:
Thor
  • Object
show all
Defined in:
lib/dri/commands/publish.rb,
lib/dri/commands/publish/report.rb

Defined Under Namespace

Classes: Report

Instance Method Summary collapse

Instance Method Details

#reportObject



22
23
24
25
26
27
28
29
# File 'lib/dri/commands/publish.rb', line 22

def report(*)
  if options[:help]
    invoke :help, ['report']
  else
    require_relative 'publish/report'
    Dri::Commands::Publish::Report.new(options).execute
  end
end