예제 #1
0
 def __init__(self, namespace):
     super(CommonShell,
           self).__init__(description=__doc__.strip() if __doc__ else None,
                          version=oio_version,
                          command_manager=CommandManager(namespace),
                          deferred_help=True)
     self.client_manager = None
     self.profiler = None
예제 #2
0
 def __init__(self):
     super(OpenIOShell,
           self).__init__(description=__doc__.strip() if __doc__ else None,
                          version=oio_version,
                          command_manager=CommandManager('oiopy.cli'),
                          deferred_help=True)
     self.api_version = {}
     self.client_manager = None