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

Function builder

ng-dev/release/publish/cli.ts:23–34  ·  view source on GitHub ↗

Yargs command builder for configuring the `ng-dev release publish` command.

(argv: Argv)

Source from the content-addressed store, hash-verified

21
22/** Yargs command builder for configuring the `ng-dev release publish` command. */
23function builder(argv: Argv): Argv<ReleasePublishOptions> {
24 return addGithubTokenOption(argv)
25 .option('publishRegistry', {
26 type: 'string',
27 description:
28 'NPM registry URL to publish packages to (overrides config and bypasses OSS Exit Gate).',
29 })
30 .option('exit-gate-project', {
31 type: 'string',
32 description: 'OSS Exit Gate project name (overrides release.exitGate.projectName).',
33 })
34 .option('stage-only', {
35 type: 'boolean',
36 default: false,
37 description:

Callers

nothing calls this directly

Calls 1

addGithubTokenOptionFunction · 0.85

Tested by

no test coverage detected