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

Function buildPrParser

ng-dev/pr/cli.ts:18–28  ·  view source on GitHub ↗
(localYargs: Argv)

Source from the content-addressed store, hash-verified

16
17/** Build the parser for pull request commands. */
18export function buildPrParser(localYargs: Argv) {
19 return localYargs
20 .help()
21 .strict()
22 .demandCommand()
23 .command(DiscoverNewConflictsCommandModule)
24 .command(RebaseCommandModule)
25 .command(MergeCommandModule)
26 .command(CheckoutCommandModule)
27 .command(CheckTargetBranchesModule);
28}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected