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 # 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
60if __name__ == "__main__":
61 asyncio.run(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