Command interpreter.
More...
|
| def | __init__ (self, loop, evt, json_output=False, log_level=logging.INFO, pub_id=None) |
| | ctor 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) |
| | Monitors ob queue where node state changes are reported. More...
|
| |
| def | do_init (self, arg="") |
| | init command More...
|
| |
| def | do_quit (self, line) |
| | quit command More...
|
| |
| def | do_EOF (self, line) |
| | EOF handler. More...
|
| |
| def | do_load (self, arg) |
| | load module[,append] More...
|
| |
| def | do_modules (self, arg) |
| | modules command More...
|
| |
| def | do_tree (self, arg) |
| | tree command More...
|
| |
| def | tpl_done_cb (self, task) |
| | done callback More...
|
| |
| def | do_run (self, arg) |
| | Executes all loaded modules. More...
|
| |
| def | do_retry (self, arg) |
| | retry command More...
|
| |
| def | do_continue (self, arg) |
| | continue command More...
|
| |
| def | do_reset (self, arg) |
| |
| def | do_load_module (self, line) |
| | N/a. More...
|
| |
| def | do_nodes (self, arg) |
| | nodes command More...
|
| |
| def | do_resume (self, arg) |
| | resume command More...
|
| |
| def | do_save (self, arg) |
| | save command More...
|
| |
| def | do_session (self, arg) |
| | session 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) |
| | flip command More...
|
| |
| def | do_checked (self, arg) |
| |
| def | do_continue_seq (self, arg) |
| |
| def | do_ob (self, arg) |
| |
| def | do_lsob (self, arg) |
| | list loaded OBs More...
|
| |
| def | do_lsvar (self, arg) |
| | list variables More...
|
| |
| def | do_err (self, arg) |
| | forces an exception More...
|
| |
| def | do_err2 (self, arg) |
| | foces another exception More...
|
| |
| def | do_json (self, arg) |
| | json output command More...
|
| |
| def | do_dumptree (self, arg) |
| |
| def | do_abort (self, arg) |
| |
| def | do_version (self, arg) |
| |
| def | do_show (self, arg) |
| |
| def | do_sv (self, arg) |
| | sv (x,y,z) More...
|
| |
| def | do_gv (self, arg) |
| | gv (x,y,z) -> More...
|
| |
| def | do_otto (self, arg) |
| | config OTTO endpoint and credentials More...
|
| |
| def | do_fetch (self, arg) |
| |
| def | do_setlog (self, arg) |
| |
| def | __init__ (self, loop, completekey='tab', stdin=None, stdout=None) |
| |
| 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.kernel.SeqInterpreter.__init__ |
( |
|
self, |
|
|
|
loop, |
|
|
|
evt, |
|
|
|
json_output = False, |
|
|
|
log_level = logging.INFO, |
|
|
|
pub_id = None |
|
) |
| |
◆ do_abort()
| def cli.kernel.SeqInterpreter.do_abort |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_checked()
| def cli.kernel.SeqInterpreter.do_checked |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_continue()
| def cli.kernel.SeqInterpreter.do_continue |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_continue_seq()
| def cli.kernel.SeqInterpreter.do_continue_seq |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_dumptree()
| def cli.kernel.SeqInterpreter.do_dumptree |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_EOF()
| def cli.kernel.SeqInterpreter.do_EOF |
( |
|
self, |
|
|
|
line |
|
) |
| |
◆ do_err()
| def cli.kernel.SeqInterpreter.do_err |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_err2()
| def cli.kernel.SeqInterpreter.do_err2 |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_fetch()
| def cli.kernel.SeqInterpreter.do_fetch |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_flip()
| def cli.kernel.SeqInterpreter.do_flip |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_gv()
| def cli.kernel.SeqInterpreter.do_gv |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_init()
| def cli.kernel.SeqInterpreter.do_init |
( |
|
self, |
|
|
|
arg = "" |
|
) |
| |
◆ do_json()
| def cli.kernel.SeqInterpreter.do_json |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_load()
| def cli.kernel.SeqInterpreter.do_load |
( |
|
self, |
|
|
|
arg |
|
) |
| |
load module[,append]
Loads a module, replacing the current Graph with the one generated by the new module.
If the append argument is given, the loaded modules is appended to the current graph.
◆ do_load_module()
| def cli.kernel.SeqInterpreter.do_load_module |
( |
|
self, |
|
|
|
line |
|
) |
| |
◆ do_lsob()
| def cli.kernel.SeqInterpreter.do_lsob |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_lsvar()
| def cli.kernel.SeqInterpreter.do_lsvar |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_modules()
| def cli.kernel.SeqInterpreter.do_modules |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_nodes()
| def cli.kernel.SeqInterpreter.do_nodes |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_ob()
| def cli.kernel.SeqInterpreter.do_ob |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_otto()
| def cli.kernel.SeqInterpreter.do_otto |
( |
|
self, |
|
|
|
arg |
|
) |
| |
config OTTO endpoint and credentials
◆ do_pause()
| def cli.kernel.SeqInterpreter.do_pause |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_quit()
| def cli.kernel.SeqInterpreter.do_quit |
( |
|
self, |
|
|
|
line |
|
) |
| |
◆ do_reset()
| def cli.kernel.SeqInterpreter.do_reset |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_resume()
| def cli.kernel.SeqInterpreter.do_resume |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_retry()
| def cli.kernel.SeqInterpreter.do_retry |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_run()
| def cli.kernel.SeqInterpreter.do_run |
( |
|
self, |
|
|
|
arg |
|
) |
| |
Executes all loaded modules.
◆ do_save()
| def cli.kernel.SeqInterpreter.do_save |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_session()
| def cli.kernel.SeqInterpreter.do_session |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_setlog()
| def cli.kernel.SeqInterpreter.do_setlog |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_show()
| def cli.kernel.SeqInterpreter.do_show |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_skip()
| def cli.kernel.SeqInterpreter.do_skip |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_sv()
| def cli.kernel.SeqInterpreter.do_sv |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_tree()
| def cli.kernel.SeqInterpreter.do_tree |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_unskip()
| def cli.kernel.SeqInterpreter.do_unskip |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ do_version()
| def cli.kernel.SeqInterpreter.do_version |
( |
|
self, |
|
|
|
arg |
|
) |
| |
◆ emptyline()
| def cli.kernel.SeqInterpreter.emptyline |
( |
|
self | ) |
|
do not break the loop on empty line
◆ exc_handler()
| def cli.kernel.SeqInterpreter.exc_handler |
( |
|
self, |
|
|
|
exc |
|
) |
| |
◆ json_reply()
| def cli.kernel.SeqInterpreter.json_reply |
( |
|
self, |
|
|
|
cmd, |
|
|
|
d |
|
) |
| |
Produces a json reply.
writes to stdout
◆ q_waiter()
| def cli.kernel.SeqInterpreter.q_waiter |
( |
|
self | ) |
|
Monitors ob queue where node state changes are reported.
◆ tpl_done_cb()
| def cli.kernel.SeqInterpreter.tpl_done_cb |
( |
|
self, |
|
|
|
task |
|
) |
| |
◆ current_task
| cli.kernel.SeqInterpreter.current_task = None |
|
static |
◆ json_output [1/2]
| bool cli.kernel.SeqInterpreter.json_output = False |
|
static |
◆ json_output [2/2]
| cli.kernel.SeqInterpreter.json_output |
◆ log_level
| cli.kernel.SeqInterpreter.log_level = logging.INFO |
|
static |
◆ modules_json
| cli.kernel.SeqInterpreter.modules_json = None |
|
static |
◆ ob
| cli.kernel.SeqInterpreter.ob = None |
|
static |
◆ prompt
| string cli.kernel.SeqInterpreter.prompt = "(Core)> " |
|
static |
◆ queue_task
| cli.kernel.SeqInterpreter.queue_task |
◆ quit_event
| cli.kernel.SeqInterpreter.quit_event |
◆ s_json [1/2]
| dictionary cli.kernel.SeqInterpreter.s_json = {} |
|
static |
◆ s_json [2/2]
| cli.kernel.SeqInterpreter.s_json |
◆ session
| cli.kernel.SeqInterpreter.session = Session() |
|
static |
◆ use_rawinput
| bool cli.kernel.SeqInterpreter.use_rawinput = False |
|
static |
The documentation for this class was generated from the following file: