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 })
28 .option('stage-only', {
29 type: 'boolean',
30 default: false,
31 description:
32 'Only stage the release (bump version, generate changelog, build, precheck, create PR) and exit.',
33 });
34}
35
36/** Yargs command handler for staging a release. */
37async function handler(flags: Arguments<ReleasePublishOptions>) {

Callers

nothing calls this directly

Calls 1

addGithubTokenOptionFunction · 0.85

Tested by

no test coverage detected