Yargs command builder for configuring the `ng-dev release publish` command.
(argv: Argv)
| 21 | |
| 22 | /** Yargs command builder for configuring the `ng-dev release publish` command. */ |
| 23 | function 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: |
nothing calls this directly
no test coverage detected