Run the UI until user- or command- triggered exit. Args: init_command: (str) Optional command to run on CLI start up. title: (str) Optional title to display in the CLI. title_color: (str) Optional color of the title, e.g., "yellow". enable_mouse_on_start: (bool) Whether
(self,
init_command=None,
title=None,
title_color=None,
enable_mouse_on_start=True)
| 112 | self._tab_completion_registry.register_tab_comp_context(*args, **kwargs) |
| 113 | |
| 114 | def run_ui(self, |
| 115 | init_command=None, |
| 116 | title=None, |
| 117 | title_color=None, |
| 118 | enable_mouse_on_start=True): |
| 119 | """Run the UI until user- or command- triggered exit. |
| 120 | |
| 121 | Args: |
| 122 | init_command: (str) Optional command to run on CLI start up. |
| 123 | title: (str) Optional title to display in the CLI. |
| 124 | title_color: (str) Optional color of the title, e.g., "yellow". |
| 125 | enable_mouse_on_start: (bool) Whether the mouse mode is to be enabled on |
| 126 | start-up. |
| 127 | |
| 128 | Returns: |
| 129 | An exit token of arbitrary type. Can be None. |
| 130 | """ |
| 131 | |
| 132 | raise NotImplementedError("run_ui() is not implemented in BaseUI") |
| 133 | |
| 134 | def _parse_command(self, command): |
| 135 | """Parse a command string into prefix and arguments. |
no outgoing calls