Sha256: a6282f2bf7c44b2d80762861b79a62d33402f43d33dbe16228213482d29ffbf7
Contents?: true
Size: 498 Bytes
Versions: 2
Compression:
Stored size: 498 Bytes
Contents
#!/usr/bin/env ruby # Hack to allow testing with Aruba (for now) $:.push File.expand_path(File.join("..", "..", "lib"), __FILE__) require 'hobo' require 'slop' error_handler = Hobo::ErrorHandlers::Friendly.new Hobo.ui = Hobo::Ui.new # Options parsed here will be hidden from the main app slop = Slop.parse! do on '--debug' do error_handler = Hobo::ErrorHandlers::Debug.new end end begin Hobo::Cli.new(slop: slop).start rescue Exception => error exit error_handler.handle(error) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hobo-inviqa-0.0.3 | bin/hobo |
hobo-inviqa-0.0.2 | bin/hobo |