()
| 497 | |
| 498 | |
| 499 | def main() -> None: |
| 500 | global verbose |
| 501 | args = parser.parse_args() |
| 502 | verbose = args.verbose |
| 503 | output = args.output |
| 504 | with open(output, "w", encoding="utf-8") as file: |
| 505 | with report_time("generate"): |
| 506 | generate(args.args, file) |
| 507 | if verbose: |
| 508 | print(f"Wrote {os.path.getsize(output)} bytes to {output}") |
| 509 | |
| 510 | |
| 511 | if __name__ == "__main__": |
no test coverage detected