Sha256: 05705530bcad7e5bf44252070c314542490e50a9749a135af175d9fb41b66545

Contents?: true

Size: 549 Bytes

Versions: 10

Compression:

Stored size: 549 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../lib/instapusher'

require 'optparse'

options = {}
OptionParser.new do |opts|

  opts.on("-v", "--version", "show version") do |v|
    options[:version] = v
  end

  opts.on("--quick", "Run quickly") do |v|
    options[:quick] = v
  end

  opts.on("--local", "Run locally") do |v|
    options[:local] = v
  end

  opts.on("--debug", "Show debug messages") do |v|
    options[:debug] = v
  end
end.parse!

if options[:version]
  puts Instapusher::VERSION
else
  Instapusher::Commands.new(options).deploy
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
instapusher-0.0.32 bin/instapusher
instapusher-0.0.31 bin/instapusher
instapusher-0.0.30 bin/instapusher
instapusher-0.0.29 bin/instapusher
instapusher-0.0.28 bin/instapusher
instapusher-0.0.27 bin/instapusher
instapusher-0.0.26 bin/instapusher
instapusher-0.0.25 bin/instapusher
instapusher-0.0.24 bin/instapusher
instapusher-0.0.23 bin/instapusher