Пример #1
0
class AuroraClientV2CommandProcessor(CommandProcessor):
  def __init__(self):
    self.commandline = AuroraCommandLine()

  @property
  def name(self):
    return "Aurora Client v2"

  def get_commands(self):
    return self.commandline.registered_nouns

  def execute(self, args):
    return self.commandline.execute(args[1:])
Пример #2
0
class AuroraClientV2CommandProcessor(CommandProcessor):
    def __init__(self):
        self.commandline = AuroraCommandLine()

    @property
    def name(self):
        return "Aurora Client v2"

    def get_commands(self):
        return self.commandline.registered_nouns

    def execute(self, args):
        setup_default_log_handlers(logging.INFO)
        return self.commandline.execute(args[1:])
Пример #3
0
 def __init__(self):
     self.commandline = AuroraCommandLine()
Пример #4
0
 def __init__(self):
   self.commandline = AuroraCommandLine()