Cmd2GeneralConsole initializer. :param file: optional file object where the console should write to. Defaults to sys.stdout.
(self, *, file: IO[str] | None = None)
| 559 | """ |
| 560 | |
| 561 | def __init__(self, *, file: IO[str] | None = None) -> None: |
| 562 | """Cmd2GeneralConsole initializer. |
| 563 | |
| 564 | :param file: optional file object where the console should write to. |
| 565 | Defaults to sys.stdout. |
| 566 | """ |
| 567 | super().__init__( |
| 568 | file=file, |
| 569 | soft_wrap=True, |
| 570 | markup=False, |
| 571 | emoji=False, |
| 572 | highlight=False, |
| 573 | ) |
| 574 | |
| 575 | |
| 576 | class Cmd2RichArgparseConsole(Cmd2BaseConsole): |