MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / main

Function main

codewiki/src/be/main.py:46–62  ·  view source on GitHub ↗

Main entry point for the documentation generation process.

()

Source from the content-addressed store, hash-verified

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

Callers 1

main.pyFile · 0.70

Calls 6

runMethod · 0.95
parse_argumentsFunction · 0.85
from_argsMethod · 0.80
debugMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected