(self)
| 34 | """Example cmd2 application to showcase conditional control flow in Python scripting within cmd2 apps.""" |
| 35 | |
| 36 | def __init__(self) -> None: |
| 37 | # Set include_ipy to True to enable the "ipy" command which runs an interactive IPython shell |
| 38 | super().__init__(include_ipy=True) |
| 39 | self._set_prompt() |
| 40 | self.intro = "Happy 𝛑 Day. Note the full Unicode support: 😇 💩" |
| 41 | |
| 42 | def _set_prompt(self) -> None: |
| 43 | """Set prompt so it displays the current working directory.""" |
nothing calls this directly
no test coverage detected