MCPcopy Index your code
hub / github.com/nodejs/node / parse_args

Method parse_args

deps/v8/test/test262/tools/v8_importer.py:52–65  ·  view source on GitHub ↗
(self, argv)

Source from the content-addressed store, hash-verified

50 self.v8_test262_last_rev = v8_test262_last_rev
51
52 def parse_args(self, argv):
53 parser = argparse.ArgumentParser()
54 parser.description = __doc__
55 parser.add_argument(
56 '-v',
57 '--verbose',
58 action='store_true',
59 help='log extra details that may be helpful when debugging')
60 parser.add_argument(
61 '--credentials-json',
62 help='A JSON file with GitHub credentials, '
63 'generally not necessary on developer machines')
64
65 return parser.parse_args(argv)
66
67 def main(self, argv=None):
68 options = self.parse_args(argv)

Callers 15

mainMethod · 0.95
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
read_configFunction · 0.45
mkapiref.pyFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
MainFunction · 0.45
mainFunction · 0.45

Calls 1

add_argumentMethod · 0.45

Tested by 3

MainFunction · 0.36
MainFunction · 0.36