Command interprete.
More...
|
def | __init__ (self, loop, evt, json_output=False, log_level=logging.INFO) |
| cto More...
|
|
def | json_reply (self, cmd, d) |
| Produces a json reply. More...
|
|
def | exc_handler (self, exc) |
| Exception handler. More...
|
|
def | emptyline (self) |
| do not break the loop on empty line More...
|
|
def | q_waiter (self) |
|
def | do_init (self, arg="") |
| init command More...
|
|
def | do_quit (self, line) |
|
def | do_EOF (self, line) |
|
def | do_load (self, line) |
|
def | do_modules (self, arg) |
| modules command More...
|
|
def | do_tree (self, arg) |
|
def | tpl_done_cb (self, task) |
| done callback More...
|
|
def | do_run (self, arg) |
| Executes all loaded modules. More...
|
|
def | do_retry (self, arg) |
|
def | do_continue (self, arg) |
|
def | do_load_module (self, line) |
|
def | do_nodes (self, arg) |
|
def | do_resume (self, arg) |
|
def | do_save (self, arg) |
| save command More...
|
|
def | do_session (self, arg) |
| session command More...
|
|
def | do_node (self, arg) |
| node command More...
|
|
def | do_skip (self, arg) |
| skip command More...
|
|
def | do_unskip (self, arg) |
| unskip command More...
|
|
def | do_pause (self, arg) |
| pause command More...
|
|
def | do_flip (self, arg) |
|
def | do_ob (self, arg) |
|
def | do_lsob (self, arg) |
|
def | do_lsvar (self, arg) |
|
def | do_setvar (self, arg) |
| set variable More...
|
|
def | do_err (self, arg) |
| forces an exception More...
|
|
def | do_err2 (self, arg) |
|
def | do_json (self, arg) |
| json output command More...
|
|
def | cb (self, f, arg, future) |
|
def | onecmd (self, line) |
| Interpret the argument as though it had been typed in response to the prompt. More...
|
|
◆ __init__()
def cli.seqobx.SeqInterpreter.__init__ |
( |
|
self, |
|
|
|
loop, |
|
|
|
evt, |
|
|
|
json_output = False , |
|
|
|
log_level = logging.INFO |
|
) |
| |
◆ do_continue()
def cli.seqobx.SeqInterpreter.do_continue |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_EOF()
def cli.seqobx.SeqInterpreter.do_EOF |
( |
|
self, |
|
|
|
line |
|
) |
| |
◆ do_err()
def cli.seqobx.SeqInterpreter.do_err |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_err2()
def cli.seqobx.SeqInterpreter.do_err2 |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_flip()
def cli.seqobx.SeqInterpreter.do_flip |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_init()
def cli.seqobx.SeqInterpreter.do_init |
( |
|
self, |
|
|
|
arg = "" |
|
) |
| |
◆ do_json()
def cli.seqobx.SeqInterpreter.do_json |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_load()
def cli.seqobx.SeqInterpreter.do_load |
( |
|
self, |
|
|
|
line |
|
) |
| |
◆ do_load_module()
def cli.seqobx.SeqInterpreter.do_load_module |
( |
|
self, |
|
|
|
line |
|
) |
| |
◆ do_lsob()
def cli.seqobx.SeqInterpreter.do_lsob |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_lsvar()
def cli.seqobx.SeqInterpreter.do_lsvar |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_modules()
def cli.seqobx.SeqInterpreter.do_modules |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_node()
def cli.seqobx.SeqInterpreter.do_node |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_nodes()
def cli.seqobx.SeqInterpreter.do_nodes |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_ob()
def cli.seqobx.SeqInterpreter.do_ob |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_pause()
def cli.seqobx.SeqInterpreter.do_pause |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_quit()
def cli.seqobx.SeqInterpreter.do_quit |
( |
|
self, |
|
|
|
line |
|
) |
| |
◆ do_resume()
def cli.seqobx.SeqInterpreter.do_resume |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_retry()
def cli.seqobx.SeqInterpreter.do_retry |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_run()
def cli.seqobx.SeqInterpreter.do_run |
( |
|
self, |
|
|
|
arg |
|
) |
| |
Executes all loaded modules.
◆ do_save()
def cli.seqobx.SeqInterpreter.do_save |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_session()
def cli.seqobx.SeqInterpreter.do_session |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_setvar()
def cli.seqobx.SeqInterpreter.do_setvar |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_skip()
def cli.seqobx.SeqInterpreter.do_skip |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_tree()
def cli.seqobx.SeqInterpreter.do_tree |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_unskip()
def cli.seqobx.SeqInterpreter.do_unskip |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ emptyline()
def cli.seqobx.SeqInterpreter.emptyline |
( |
|
self | ) |
|
do not break the loop on empty line
◆ exc_handler()
def cli.seqobx.SeqInterpreter.exc_handler |
( |
|
self, |
|
|
|
exc |
|
) |
| |
◆ json_reply()
def cli.seqobx.SeqInterpreter.json_reply |
( |
|
self, |
|
|
|
cmd, |
|
|
|
d |
|
) |
| |
Produces a json reply.
writes to stdout
◆ q_waiter()
def cli.seqobx.SeqInterpreter.q_waiter |
( |
|
self | ) |
|
Monitors ob queue where node state changes are reported.
◆ tpl_done_cb()
def cli.seqobx.SeqInterpreter.tpl_done_cb |
( |
|
self, |
|
|
|
task |
|
) |
| |
◆ current_task
cli.seqobx.SeqInterpreter.current_task = None |
|
static |
◆ json_output [1/2]
bool cli.seqobx.SeqInterpreter.json_output = False |
|
static |
◆ json_output [2/2]
cli.seqobx.SeqInterpreter.json_output |
◆ log_level
cli.seqobx.SeqInterpreter.log_level = logging.INFO |
|
static |
◆ modules_json
cli.seqobx.SeqInterpreter.modules_json = None |
|
static |
◆ ob
cli.seqobx.SeqInterpreter.ob = None |
|
static |
◆ prompt
string cli.seqobx.SeqInterpreter.prompt = "(Core)> " |
|
static |
◆ queue_task
cli.seqobx.SeqInterpreter.queue_task |
◆ quit_event
cli.seqobx.SeqInterpreter.quit_event |
◆ s_json [1/2]
dictionary cli.seqobx.SeqInterpreter.s_json = {} |
|
static |
◆ s_json [2/2]
cli.seqobx.SeqInterpreter.s_json |
◆ session
cli.seqobx.SeqInterpreter.session = Session() |
|
static |
◆ tree
dictionary cli.seqobx.SeqInterpreter.tree = {} |
|
static |
◆ use_rawinput
bool cli.seqobx.SeqInterpreter.use_rawinput = False |
|
static |
The documentation for this class was generated from the following file: