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
InstlInstanceBasecalls this function to pass control interactive mode code ininstlInstanceBase_interactive.py.
-
class
instlInstanceBase.instlCMD¶ Overrides
cmd.Cmdand 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
instlCMDas a context_manager.
-