MCPcopy Create free account
hub / github.com/angular/dev-infra / builder

Function builder

ng-dev/misc/validate-skills/cli.ts:18–25  ·  view source on GitHub ↗
(yargs: Argv)

Source from the content-addressed store, hash-verified

16}
17
18function builder(yargs: Argv) {
19 return yargs.option('base-dir' as 'baseDir', {
20 type: 'string',
21 default: determineRepoBaseDirFromCwd(),
22 hidden: true,
23 description: 'The base directory to look for skills in',
24 });
25}
26
27async function handler({baseDir}: Arguments<Options>) {
28 process.exitCode = (await validateSkills(baseDir)).exitCode;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected