MCPcopy Create free account
hub / github.com/github/awesome-copilot / parse_args

Function parse_args

cookbook/copilot-sdk/python/recipe/pr_visualization.py:55–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 return None
54
55def parse_args():
56 args = sys.argv[1:]
57 if "--repo" in args:
58 idx = args.index("--repo")
59 if idx + 1 < len(args):
60 return {"repo": args[idx + 1]}
61 return {}
62
63def prompt_for_repo():
64 return input("Enter GitHub repo (owner/repo): ").strip()

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected