MCPcopy
hub / github.com/conventional-changelog/commitlint / cli

Function cli

@alias/commitlint/cli.test.js:15–27  ·  view source on GitHub ↗
(args, options, input)

Source from the content-addressed store, hash-verified

13const bin = require.resolve("./cli.js");
14
15function cli(args, options, input) {
16 const result = x(bin, args, {
17 nodeOptions: {
18 cwd: options.cwd,
19 env: options.env,
20 },
21 });
22
23 result.process.stdin.write(input);
24 result.process.stdin.end();
25
26 return result;
27}
28
29const fixBootstrap = (fixture) => fix.bootstrap(fixture, __dirname);
30

Callers 1

cli.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected