(path: Path, content: str)
| 33 | |
| 34 | |
| 35 | def write(path: Path, content: str) -> None: |
| 36 | path.parent.mkdir(parents=True, exist_ok=True) |
| 37 | path.write_text(textwrap.dedent(content).lstrip(), encoding="utf-8") |
| 38 | print(f" created {path}") |
| 39 | |
| 40 | |
| 41 | def touch(path: Path) -> None: |