Class: Zypper::Onlinesearch::CLI
- Inherits:
-
Object
- Object
- Zypper::Onlinesearch::CLI
- Defined in:
- lib/zypper/onlinesearch/cli.rb
Overview
Interface class to run the application.
Class Method Summary collapse
Class Method Details
.start ⇒ Object
159 160 161 162 163 164 165 |
# File 'lib/zypper/onlinesearch/cli.rb', line 159 def self.start = OptParseMain.parse(ARGV) Onlinesearch::Builder.new().send(.operation) rescue StandardError => e Messages.error e exit e.error_code end |