Esempio n. 1
0
 def __init__(self, context):
     PollingCommand.__init__(
         self,
         'uninstall',
         _('uninstall packages'),
         self.run,
         context)
     self.create_option(
         '--name',
         _('package name; may repeat for multiple packages'),
         required=True,
         allow_multiple=True,
         aliases=['-n'])
Esempio n. 2
0
 def __init__(self, context):
     PollingCommand.__init__(
         self,
         'install',
         _('install packages'),
         self.run,
         context)
     self.create_option(
         '--name',
         _('package name; may repeat for multiple packages'),
         required=True,
         allow_multiple=True,
         aliases=['-n'])
     self.create_flag(
         '--import-keys',
         _('import GPG keys as needed'))
Esempio n. 3
0
 def __init__(self, context):
     PollingCommand.__init__(
         self,
         'install',
         _('install erratum'),
         self.run,
         context)
     self.create_option(
         '--errata-id',
         _('erratum id; may repeat for multiple errata'),
         required=True,
         allow_multiple=True,
         aliases=['-e'])
     self.create_flag(
         '--import-keys',
         _('import GPG keys as needed'))