pysap.utils.console module

class pysap.utils.console.BaseConsole(options)[source]

Bases: cmd.Cmd, object

complete_options(text, line, begidx, endidx)[source]
do_exit(args)[source]

Exit console.

do_help(args)[source]

Show help.

do_history(args)[source]

Show commands history.

do_options(args)[source]

Show/set options.

do_script(args)[source]

Runs a script file.

emptyline()[source]

Called when an empty line is entered in response to the prompt.

If this method is not overridden, it repeats the last nonempty command entered.

postcmd(stop, line)[source]

Hook method executed just after a command dispatch is finished.

postloop()[source]

Hook method executed once when the cmdloop() method is about to return.

precmd(line)[source]

Hook method executed just before the command line is interpreted, but after the input prompt is generated and issued.

preloop()[source]

Hook method executed once when the cmdloop() method is called.