class Wrapp::CLI
Public Class Methods
run()
click to toggle source
# File lib/wrapp/cli.rb, line 17 def run new.run(ARGV) end
Public Instance Methods
run(argv)
click to toggle source
# File lib/wrapp/cli.rb, line 22 def run(argv) app_path = parse_options(argv).first if app_path wrapp(app_path, config) else warn 'ERROR: App path is missing!' puts opt_parser exit 2 end end
wrapp(*opts)
click to toggle source
# File lib/wrapp/cli.rb, line 33 def wrapp(*opts) DMGBuilder.new(*opts).create end