Sha256: 7c0aab1a6913a3d990451df00c0a9a8bf63d8db3e33783a2dcaf5b9e65c7e528
Contents?: true
Size: 764 Bytes
Versions: 4
Compression:
Stored size: 764 Bytes
Contents
# frozen_string_literal: true 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' method_option :actions, type: :boolean, desc: 'Updates actions on failures' def report(*) if options[:help] invoke :help, ['report'] else require_relative 'publish/report' Dri::Commands::Publish::Report.new(options).execute end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dri-0.4.0 | lib/dri/commands/publish.rb |
dri-0.3.1 | lib/dri/commands/publish.rb |
dri-0.3.0 | lib/dri/commands/publish.rb |
dri-0.2.0 | lib/dri/commands/publish.rb |