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

Function builder

ng-dev/misc/build-and-link/cli.ts:25–32  ·  view source on GitHub ↗

Yargs command builder for the command.

(argv: Argv)

Source from the content-addressed store, hash-verified

23
24/** Yargs command builder for the command. */
25function builder(argv: Argv): Argv<BuildAndLinkOptions> {
26 return argv.positional('projectRoot', {
27 type: 'string',
28 normalize: true,
29 coerce: (path: string) => resolve(path),
30 demandOption: true,
31 });
32}
33
34/** Yargs command handler for the command. */
35async function handler({projectRoot}: Arguments<BuildAndLinkOptions>) {

Callers

nothing calls this directly

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected