Sha256: a19f94e5c99baeb738b8dc648b447d4f7b590a898265e507c36e01bac500ec12
Contents?: true
Size: 604 Bytes
Versions: 2
Compression:
Stored size: 604 Bytes
Contents
#!/usr/bin/env ruby require_relative '../lib/instapusher/commands' require_relative '../lib/instapusher/version' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
instapusher-0.0.22 | bin/instapusher |
instapusher-0.0.21 | bin/instapusher |