MCPcopy
hub / github.com/di-sukharev/opencommit / parse

Function parse

out/cli.cjs:1398–1416  ·  view source on GitHub ↗
(command, args, options)

Source from the content-addressed store, hash-verified

1396 return parsed;
1397 }
1398 function parse(command, args, options) {
1399 if (args && !Array.isArray(args)) {
1400 options = args;
1401 args = null;
1402 }
1403 args = args ? args.slice(0) : [];
1404 options = Object.assign({}, options);
1405 const parsed = {
1406 command,
1407 args,
1408 options,
1409 file: void 0,
1410 original: {
1411 command,
1412 args
1413 }
1414 };
1415 return options.shell ? parsed : parseNonShell(parsed);
1416 }
1417 module2.exports = parse;
1418 }
1419});

Callers 3

spawnFunction · 0.85
spawnSyncFunction · 0.85

Calls 5

parseNonShellFunction · 0.85
trimMethod · 0.80
toLowerCaseMethod · 0.80
sliceMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…