Sha256: 4a6d8d3fa97700bd151b6ba5139091034514e624d16b0ca1367b61bad4db952a
Contents?: true
Size: 465 Bytes
Versions: 15
Compression:
Stored size: 465 Bytes
Contents
#!/usr/bin/env ruby require "bundler/setup" require "browser_app_base" require "optparse" opt = OptionParser.new o = {} opt.on("-d dir_name", "--dir dir_name", "application directory") { |v| o[:dir] = v } opt.on("-a app_name", "--app app_name", "application name") { |v| o[:app] = v } opt.on("-h", "--help", "command help") { puts opt; exit } begin opt.parse!(ARGV) rescue puts opt exit end if o[:dir] == nil puts opt exit end BrowserAppBase.create o
Version data entries
15 entries across 15 versions & 1 rubygems