|
|
| __call__(self,
question,
reprint_opt=True,
**opts) |
source code
|
|
|
|
__init__(self,
question,
allow_arg=[],
default=None,
mother_interface=None,
*arg,
**opt)
Instantiate a line-oriented interpreter framework. |
source code
|
|
|
|
cmdloop(self,
intro=None)
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. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onecmd(self,
line,
**opt)
catch all error and stop properly command accordingly Interpret the
argument as though it had been typed in response to the prompt. |
source code
|
|
|
|
postcmd(self,
stop,
line)
Hook method executed just after a command dispatch is finished. |
source code
|
|
|
|
|
|
|
|
|
Inherited from BasicCmd:
complete,
deal_multiple_categories,
getTerminalSize,
print_suggestions
Inherited from cmd.Cmd:
columnize,
complete_help,
completedefault,
do_help,
parseline,
postloop,
precmd,
print_topics
|