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

Function main

codewiki/cli/main.py:64–73  ·  view source on GitHub ↗

Entry point for the CLI.

()

Source from the content-addressed store, hash-verified

62
63
64def main():
65 """Entry point for the CLI."""
66 try:
67 cli(obj={})
68 except KeyboardInterrupt:
69 click.echo("\n\nInterrupted by user", err=True)
70 sys.exit(130)
71 except Exception as e:
72 click.secho(f"\n✗ Unexpected error: {e}", fg="red", err=True)
73 sys.exit(1)
74
75
76if __name__ == "__main__":

Callers 1

main.pyFile · 0.70

Calls 1

cliFunction · 0.85

Tested by

no test coverage detected