class Zypper::Upgraderepo::CLI

Public Class Methods

start() click to toggle source
# File lib/zypper/upgraderepo/cli.rb, line 182
def self.start
  begin
    options = OptParseMain.parse(ARGV)
    Upgraderepo::Builder.new(options).send(options.operation)
   rescue => e
     Messages.error e
     exit e.error_code
   end
end