MCPcopy
hub / github.com/pex-tool/pex / parse_args

Function parse_args

tests/resolve/test_dependency_groups.py:75–82  ·  view source on GitHub ↗
(
    args,  # type: Sequence[str]
    cwd=None,  # type: Optional[str]
)

Source from the content-addressed store, hash-verified

73
74
75def parse_args(
76 args, # type: Sequence[str]
77 cwd=None, # type: Optional[str]
78):
79 # type: (...) -> Namespace
80 parser = ArgumentParser()
81 project.register_options(parser, project_help="test", cwd=cwd)
82 return parser.parse_args(args=args)
83
84
85def parse_groups(

Callers 5

parse_groupsFunction · 0.85
test_missing_groupFunction · 0.85

Calls 2

register_optionsMethod · 0.80
parse_argsMethod · 0.80

Tested by

no test coverage detected