()
| 345 | |
| 346 | |
| 347 | def main() -> None: |
| 348 | try: |
| 349 | args = parse_args() |
| 350 | if args.operation == "sync": |
| 351 | sync_docs(args) |
| 352 | else: |
| 353 | remove_docs(args) |
| 354 | except Exception as exc: |
| 355 | print(f"error: {exc}", file=sys.stderr) |
| 356 | raise SystemExit(2) from exc |
| 357 | |
| 358 | |
| 359 | if __name__ == "__main__": |
no test coverage detected