Main entry point for the documentation generation process.
()
| 44 | # Parse arguments and create configuration |
| 45 | args = parse_arguments() |
| 46 | config = Config.from_args(args) |
| 47 | |
| 48 | # Create and run documentation generator |
| 49 | doc_generator = DocumentationGenerator(config) |
| 50 | await doc_generator.run() |
| 51 | |
| 52 | except KeyboardInterrupt: |
| 53 | logger.debug("Documentation generation interrupted by user") |
| 54 | except Exception as e: |
| 55 | logger.error(f"Unexpected error: {str(e)}") |
| 56 | logger.error(f"Traceback: {traceback.format_exc()}") |
| 57 | raise |
| 58 | |
| 59 | |
| 60 | if __name__ == "__main__": |
| 61 | asyncio.run(main()) |
no test coverage detected