Sha256: 4c60d6e09e2aaa85a65fbf987e929f210213616876b8fa11bb869b8131af125a

Contents?: true

Size: 798 Bytes

Versions: 122

Compression:

Stored size: 798 Bytes

Contents

# frozen_string_literal: true

require 'avm/tools/core_ext'
require 'avm/git/issue/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 Git 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::Git::Issue::Deliver.new(runner_context.call(:subject).scm.git_repo)
            end
          end
        end
      end
    end
  end
end

Version data entries

122 entries across 122 versions & 2 rubygems

Version Path
avm-tools-0.150.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.68.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.67.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.149.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.67.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.148.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.66.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.65.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.147.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.65.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
avm-tools-0.146.0 lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.64.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.63.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.62.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.62.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.61.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.61.0 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.60.3 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.60.2 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb
eac_tools-0.60.1 sub/avm-tools/lib/avm/tools/runner/source/issue/deliver.rb