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

Function parse_arguments

codewiki/src/be/main.py:31–43  ·  view source on GitHub ↗

Parse command line arguments.

()

Source from the content-addressed store, hash-verified

29
30
31def parse_arguments() -> argparse.Namespace:
32 """Parse command line arguments."""
33 parser = argparse.ArgumentParser(
34 description="Generate comprehensive documentation for Python components in dependency order."
35 )
36 parser.add_argument("--repo-path", type=str, required=True, help="Path to the repository")
37
38 return parser.parse_args()
39
40
41async def main() -> None:
42 """Main entry point for the documentation generation process."""
43 try:
44 # Parse arguments and create configuration
45 args = parse_arguments()
46 config = Config.from_args(args)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected