MCPcopy Index your code
hub / github.com/SkyworkAI/DeepResearchAgent / parse_args

Function parse_args

examples/process/process.py:15–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13from src.registry import PROCESSOR
14
15def parse_args():
16 parser = argparse.ArgumentParser(description='main')
17 parser.add_argument("--config", default=os.path.join(root, "configs", "process", "crypto.py"), help="config file path")
18
19 parser.add_argument(
20 '--cfg-options',
21 nargs='+',
22 action=DictAction,
23 help='override some settings in the used config, the key-value pair '
24 'in xxx=yyy format will be merged into config file. If the value to '
25 'be overwritten is a list, it should be like key="[a,b]" or key=a,b '
26 'It also allows nested list/tuple values, e.g. key="[(a,b),(c,d)]" '
27 'Note that the quotation marks are necessary and that no white space '
28 'is allowed.')
29 args = parser.parse_args()
30 return args
31
32async def main():
33 # Parse command line arguments

Callers 1

mainFunction · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected