Cmd2RichArgparseConsole initializer. :param file: optional file object where the console should write to. Defaults to sys.stdout.
(self, *, file: IO[str] | None = None)
| 587 | """ |
| 588 | |
| 589 | def __init__(self, *, file: IO[str] | None = None) -> None: |
| 590 | """Cmd2RichArgparseConsole initializer. |
| 591 | |
| 592 | :param file: optional file object where the console should write to. |
| 593 | Defaults to sys.stdout. |
| 594 | """ |
| 595 | super().__init__( |
| 596 | file=file, |
| 597 | soft_wrap=False, |
| 598 | markup=False, |
| 599 | emoji=False, |
| 600 | highlight=False, |
| 601 | ) |
| 602 | |
| 603 | |
| 604 | class Cmd2ExceptionConsole(Cmd2BaseConsole): |