MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / cmdloop

Method cmdloop

Lib/cmd.py:102–151  ·  view source on GitHub ↗

Repeatedly issue a prompt, accept input, parse an initial prefix off the received input, and dispatch to action methods, passing them the remainder of the line as argument.

(self, intro=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

pstats.pyFile · 0.80
bp_commandsMethod · 0.80
interactionMethod · 0.80
do_commandsMethod · 0.80

Calls 11

preloopMethod · 0.95
precmdMethod · 0.95
onecmdMethod · 0.95
postcmdMethod · 0.95
postloopMethod · 0.95
strFunction · 0.85
rstripMethod · 0.80
writeMethod · 0.45
popMethod · 0.45
flushMethod · 0.45
readlineMethod · 0.45

Tested by

no test coverage detected