Print text wrapped to fit within the given width. Indents additional lines by four spaces.
(text: str, width: int = 80)
| 141 | |
| 142 | |
| 143 | def print_wrapped(text: str, width: int = 80) -> None: |
| 144 | """Print text wrapped to fit within the given width. |
| 145 | |
| 146 | Indents additional lines by four spaces. |
| 147 | """ |
| 148 | print("\n ".join(textwrap.wrap(text, width=width - 4, break_on_hyphens=False))) |
| 149 | |
| 150 | |
| 151 | def parse_args() -> argparse.Namespace: |