|
|
|
cmdloop(self,
handle_exceptions=False,
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
|
|
|
|
|
|
|
|
|
postloop(self)
Hook method executed once when the cmdloop() method is about to
return. |
source code
|
|
|
precmd(self,
line)
Hook method executed just before the command line is interpreted, but
after the input prompt is generated and issued. |
source code
|
|
|
postcmd(self,
stop,
line)
Hook method executed just after a command dispatch is finished. |
source code
|
|
|
|
|
default(self,
line)
Called on an input line when the command prefix is not recognized. |
source code
|
|
|
do_hist(self,
args)
Print the list of commands that have been entered |
source code
|
|
|
do_exit(self,
args)
Exit from the interpreter |
source code
|
|
|
do_quit(self,
args)
Quit from the interpreter |
source code
|
|
|
do_help(self,
args)
Get help on commands 'help' or '?' with no arguments prints a list of
commands for which help is available 'help <command>' or '?
<command>' gives help on the specific <command> |
source code
|
|
|
do_EOF(self,
args)
Exit from the interpreter |
source code
|
|
|
do_script(self,
line)
Execute a script (Same as @@) |
source code
|
|
|
help_atsign(self)
Execute script duplicating logs to terminal for monitoring |
source code
|
|
|
help_atatsign(self)
Execute script without duplicating logging to terminal |
source code
|
|
|
help_script(self)
Execute script without duplicating logging to terminal |
source code
|
|
|
help_logger(self)
Log the text to the log file |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from cmd.Cmd :
columnize ,
complete ,
complete_help ,
completedefault ,
onecmd ,
parseline ,
print_topics
|