MCPcopy Create free account
hub / github.com/Codeplain-ai/codeplain / main

Function main

docs/generate_cli.py:8–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7
8def main():
9 from plain2code_arguments import create_parser
10
11 # Get the parser and generate help text
12 parser = create_parser() # Disable color for markdown output
13 help_text = parser.format_help()
14
15 # Create markdown
16 md = "# Plain2Code CLI Reference\n\n```text\n" + help_text + "\n```"
17
18 # Run generate_cli.py in the docs folder
19
20 with open("plain2code_cli.md", "w", encoding="utf-8") as f:
21 f.write(md)
22
23
24if __name__ == "__main__":

Callers 1

generate_cli.pyFile · 0.70

Calls 1

create_parserFunction · 0.90

Tested by

no test coverage detected