Sha256: b923a1c579457231a16d11cc78c0e23adc323cf13f78cfe09096fda7acd70876

Contents?: true

Size: 322 Bytes

Versions: 11

Compression:

Stored size: 322 Bytes

Contents

module Cp8Cli
  module Commands
    class Submit
      def initialize(options = {})
        @options = options
      end

      def run
        branch.push
        branch.open_pr
      end

      private

        attr_reader :options

        def branch
          @_branch ||= Branch.current
        end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cp8_cli-9.1.1 lib/cp8_cli/commands/submit.rb
cp8_cli-9.1.0 lib/cp8_cli/commands/submit.rb
cp8_cli-9.0.3 lib/cp8_cli/commands/submit.rb
cp8_cli-9.0.2 lib/cp8_cli/commands/submit.rb
cp8_cli-9.0.1 lib/cp8_cli/commands/submit.rb
cp8_cli-9.0.0 lib/cp8_cli/commands/submit.rb
cp8_cli-8.2.1 lib/cp8_cli/commands/submit.rb
cp8_cli-8.2.0 lib/cp8_cli/commands/submit.rb
cp8_cli-8.1.0 lib/cp8_cli/commands/submit.rb
cp8_cli-8.0.1 lib/cp8_cli/commands/submit.rb
cp8_cli-8.0.0 lib/cp8_cli/commands/submit.rb