10.3. InstlInstanceBase_interactive — Interactive mode implementation

synopsis:Implements the interactive mode of instl.

Source code: :source:`pyinstl/instlInstanceBase_interactive.py`

10.3.1. Methods

instlInstanceBase.insensitive_glob(pattern)

Helper function to enable case insensitive directory completion.

instlInstanceBase.go_interactive(instl_inst)

The gateway to interactive mode. This function is the interface InstlInstanceBase calls this function to pass control interactive mode code in instlInstanceBase_interactive.py.

class instlInstanceBase.instlCMD

Overrides cmd.Cmd and implements all the interactive mode commands as do_command_name methods. Also implements complete_command_name methods and help_command_name methods.

instl_inst

The instance of instlInstanceBase to work with.

__init__()

Initialised cmd.Cmd.

Initialised instl_inst.

__enter__(self)
__exit__(self, type, value, traceback)

Enable the usage of instlCMD as a context_manager.