Class: Zypper::Upgraderepo::CLI
- Inherits:
-
Object
- Object
- Zypper::Upgraderepo::CLI
- Defined in:
- lib/zypper/upgraderepo/cli.rb
Overview
Interface class to run the application.
Class Method Summary collapse
Class Method Details
.start ⇒ Object
226 227 228 229 230 231 232 |
# File 'lib/zypper/upgraderepo/cli.rb', line 226 def self.start = OptParseMain.parse(ARGV) Upgraderepo::Builder.new().send(.operation) rescue StandardError => e Messages.error e exit e.error_code end |