(self, *args, **kwargs)
| 38 | """ |
| 39 | |
| 40 | def __init__(self, *args, **kwargs) -> None: |
| 41 | # code placed here runs before cmd2 initializes |
| 42 | super().__init__(*args, **kwargs) |
| 43 | # code placed here runs after cmd2 initializes |
| 44 | # this is where you register any hook functions |
| 45 | self.register_preloop_hook(self.cmd2_mymixin_preloop_hook) |
| 46 | self.register_postloop_hook(self.cmd2_mymixin_postloop_hook) |
| 47 | self.register_postparsing_hook(self.cmd2_mymixin_postparsing_hook) |
| 48 | |
| 49 | def do_say(self, statement) -> None: |
| 50 | """Simple say command.""" |
no test coverage detected