seq  2.0.0
Classes | Functions | Variables
cli.seqsh Namespace Reference

Classes

class  SeqShell
 lookup for important replies that are worth publishing More...
 

Functions

def handle_exception (loop, context)
 Shell command interpreter (asyncio based) More...
 
def mytask (loop, redis_address, log_level, evt)
 executes the shell subprocess More...
 
def monitor_quit (quit_event)
 
def main_loop (redis_address, log_level=logging.INFO)
 
def shell (redis_address, log_level)
 

Variables

 LOGGER = logging.getLogger("seq.shell")
 
 msg = context.get("exception", context["message"])
 exception handle context["message"] will always be there; but context["exception"] may not More...
 

Function Documentation

◆ handle_exception()

def cli.seqsh.handle_exception (   loop,
  context 
)

Shell command interpreter (asyncio based)

◆ main_loop()

def cli.seqsh.main_loop (   redis_address,
  log_level = logging.INFO 
)
"shell main loop

◆ monitor_quit()

def cli.seqsh.monitor_quit (   quit_event)
waits for quit event

◆ mytask()

def cli.seqsh.mytask (   loop,
  redis_address,
  log_level,
  evt 
)

executes the shell subprocess

◆ shell()

def cli.seqsh.shell (   redis_address,
  log_level 
)
seq shell entry point

Variable Documentation

◆ LOGGER

cli.seqsh.LOGGER = logging.getLogger("seq.shell")

◆ msg

cli.seqsh.msg = context.get("exception", context["message"])

exception handle context["message"] will always be there; but context["exception"] may not