def __init__(self): # let the base class setup methods in our class SubCommand.__init__(self) # Add debug option to all commands (creates self.debug) self.opt('-d', '--debug', action='store_const', const=True, default=False, help="print the REST calls used") self.opt('-H', '--host', default=None, help="hostname or ip for the storage node")
def __init__(self): # Give our sub command a name self._name = 'tools' # Create a volume helper with our local storage config self.volume = VolumeHelper(LunrConfig.from_storage_conf()) # let the base class setup methods in our class SubCommand.__init__(self) self.total = defaultdict(float)
def __init__(self): # let the base class setup methods in our class SubCommand.__init__(self) # Add debug option to all commands (creates self.debug) self.opt('-d', '--debug', action='store_const', const=True, default=False, help="print the REST calls used")
def __init__(self): # Give our sub command a name self._name = 'api' # let the base class setup methods in our class SubCommand.__init__(self)
def __init__(self): # Give our sub command a name self._name = 'env' # let the base class setup methods in our class SubCommand.__init__(self)