Sha256: 9e86409069be2afd106bde4f818d2cb844490698a03a21b2aa8eb07d4710017d

Contents?: true

Size: 802 Bytes

Versions: 9

Compression:

Stored size: 802 Bytes

Contents

# frozen_string_literal: true

require 'avm/tools/core_ext'
require 'avm/sources/issues/deliver'

module Avm
  module Tools
    class Runner
      class Source < ::Avm::Sources::Runner
        class Issue
          class Deliver
            runner_with :confirmation, :help do
              desc 'Deliver a issue in a remote repository.'
            end

            def run
              deliver.start_banner
              if confirm?('Confirm issue delivery?')
                deliver.run
              else
                fatal_error 'Issue undelivered'
              end
            end

            private

            def deliver_uncached
              ::Avm::Sources::Issues::Deliver.new(runner_context.call(:subject).scm)
            end
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
avm-tools-0.162.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.94.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.161.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.86.5 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.160.2 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.86.4 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.86.3 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.160.1 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.86.2 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb