MCPcopy Create free account
hub / github.com/10Ring/LAA-Net / parse_args

Function parse_args

scripts/test.py:34–40  ·  view source on GitHub ↗
(args=None)

Source from the content-addressed store, hash-verified

32
33
34def parse_args(args=None):
35 arg_parser = argparse.ArgumentParser('Processing testing...')
36 arg_parser.add_argument('--cfg', '-c', help='Config file', required=True)
37 arg_parser.add_argument('--image', '-i', type=str, help='Image for the single testing mode!')
38 args = arg_parser.parse_args(args)
39
40 return args
41
42
43if __name__=='__main__':

Callers 1

test.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected