Sha256: 257f9634fa98dc3aed1f47a70be6ff91dcd275b422cb6584b4f60752f280a755

Contents?: true

Size: 827 Bytes

Versions: 1

Compression:

Stored size: 827 Bytes

Contents

#!/usr/bin/env ruby
require 'optparse'
require 'pumper'

options = Hash.new

opts = OptionParser.new do |opts|
  opts.banner = %q[Bumper]

  opts.on('-p', '--project PROJECT_PATH', 'Set path to gem bump project') do |project|
    options[:project] = project
  end

  # Default find in current folder file *.gemspec
  opts.on('-s', '--gemspec GEMSPEC_PATH', 'Set path to gemspec') do |gemspec|
    options[:gemspec] = gemspec
  end

  opts.on('-g', '--gemset GEMSET', 'Set path to gemspec') do |gemset|
    options[:gemset] = gemset
  end

  opts.on('-a', '--absolute_path', 'If project absolute path') do
    options[:absolute_path] = true
  end

  opts.on('-e', '--vendor', 'If need add to vendor path') do
    options[:vendor] = true
  end
end

opts.parse!

Pumper::Pump.new(Pumper::Configuration.configure!(options)).perform

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pumper-0.0.1 bin/pumper