MCPcopy Create free account
hub / github.com/breach/thrust / parse_args

Function parse_args

scripts/build.py:28–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27
28def parse_args():
29 parser = argparse.ArgumentParser(description='Build thrust_shell')
30 parser.add_argument('-c', '--configuration',
31 help='Build with Release or Debug configuration',
32 nargs='+',
33 default=CONFIGURATIONS,
34 required=False)
35 parser.add_argument('-t', '--target',
36 help='Build specified target',
37 default='thrust_shell',
38 required=False)
39 return parser.parse_args()
40
41
42if __name__ == '__main__':

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected