Sha256: f3fe27881601d6a2b23817a382c0a6fd10b59dcd744b5eddbf7a9d3eb719ef59
Contents?: true
Size: 548 Bytes
Versions: 6
Compression:
Stored size: 548 Bytes
Contents
desc "Create a pull request from the current branch to the application's designated deploy branch." command 'pull-request' do |c| config = Octopolo::Config.parse c.desc "Branch to create the pull request against" c.flag [:d, :dest, :destination], :arg_name => "destination_branch", :default_value => config.deploy_branch c.action do |global_options, options, args| require_relative '../scripts/pull_request' options = global_options.merge(options) Octopolo::Scripts::PullRequest.execute options[:destination_branch] end end
Version data entries
6 entries across 6 versions & 1 rubygems