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

Method process

deps/v8/tools/arguments.mjs:25–33  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

23 result() { return this.result_ }
24
25 static process(args) {
26 const processor = new this(args);
27 if (processor.parse()) {
28 return processor.result();
29 } else {
30 processor.printUsageAndExit();
31 return false;
32 }
33 }
34
35 printUsageAndExit() {
36 console.log('Cmdline args: [options] [log-file-name]\n' +

Callers

nothing calls this directly

Calls 3

printUsageAndExitMethod · 0.80
parseMethod · 0.65
resultMethod · 0.45

Tested by

no test coverage detected