|
|
|
|
|
__init__(self,
allow_arg=[],
default=None,
*arg,
**opt)
Instantiate a line-oriented interpreter framework. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
postcmd(self,
stop,
line)
Hook method executed just after a command dispatch is finished. |
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
|
|
|
Inherited from BasicCmd:
complete,
deal_multiple_categories,
getTerminalSize,
print_suggestions
Inherited from cmd.Cmd:
columnize,
complete_help,
completedefault,
do_help,
get_names,
onecmd,
parseline,
postloop,
precmd,
print_topics
|