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 | }) |
| 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. */ |
| 37 | async function handler(flags: Arguments<ReleasePublishOptions>) { |
nothing calls this directly
no test coverage detected