Simulate sending text to a server and printing the response.
(self, _args: cmd2.Statement, *, text: str)
| 35 | super().__init__(include_ipy=True) |
| 36 | |
| 37 | def send_text(self, _args: cmd2.Statement, *, text: str) -> None: |
| 38 | """Simulate sending text to a server and printing the response.""" |
| 39 | self.poutput(text.capitalize()) |
| 40 | |
| 41 | def text_help(self, *, text: str) -> None: |
| 42 | """Deal with printing help for the dynamically added commands.""" |