MCPcopy
hub / github.com/brunch/brunch / wrapCommand

Function wrapCommand

lib/cli.js:24–29  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

22var commands = require('.');
23
24function wrapCommand(name) {
25 return (arg1, arg2) => {
26 arg2.path = arg1 || '.';
27 return commands[name](arg2);
28 };
29}
30
31program
32 .version(require('../package.json').version, '-v, --version')

Callers 1

cli.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…