Method: Bixby::Client::App#options
- Defined in:
- lib/bixby-client/app.rb
#options ⇒ Object
68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/bixby-client/app.rb', line 68 def @options ||= OptionParser.new do |opts| opts. = nil opts.on_tail("-v", "--verbose", "Enable verbose output") { [:verbose] = true } opts.on_tail("-h", "--help", "Display this help") { [:help] = true } end end |