def __init__(self, cb, connect_callback):
"""
Create a CbLR Command Line class
:param cb: Connection to the Cb Enterprise Response API
:param connect_callback: Callable to get a sensor object from the ``connect`` command
:type cb: CbEnterpriseResponseAPI
:return:
"""
cmd.Cmd.__init__(self)
# global variables
# apply regardless of session state
self.cb = cb
self.connect_callback = connect_callback
lr_session = None
""":type lr_session: LiveResponseSession"""
self.lr_session = lr_session
self.reset()
评论列表
文章目录