(self, data: cmd2.plugin.PostcommandData)
| 60 | self.register_command_set(module) |
| 61 | |
| 62 | def _postcmd(self, data: cmd2.plugin.PostcommandData) -> cmd2.plugin.PostcommandData: |
| 63 | self.prompt = self._default_prompt |
| 64 | for command in self._commands: |
| 65 | self.prompt+=command["module"]+Color.format("[green]>[reset] ") |
| 66 | |
| 67 | if len(self._commands)== 0: |
| 68 | self._load_module(None) |
| 69 | return data |
| 70 | |
| 71 | def do_quit(self, arg): |
| 72 | """Exit of the application |
nothing calls this directly
no test coverage detected