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

Function builder

ng-dev/pr/check-target-branches/cli.ts:18–24  ·  view source on GitHub ↗

Builds the command.

(argv: Argv)

Source from the content-addressed store, hash-verified

16
17/** Builds the command. */
18function builder(argv: Argv) {
19 return argv.positional('pr', {
20 description: 'The pull request number',
21 type: 'number',
22 demandOption: true,
23 });
24}
25
26/** Handles the command. */
27async function handler({pr}: Arguments<CheckTargetBranchesOptions>) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected