Yargs command builder for configuring the `ng-dev release publish-snapshots` command.
(argv: Argv)
| 12 | |
| 13 | /** Yargs command builder for configuring the `ng-dev release publish-snapshots` command. */ |
| 14 | function builder(argv: Argv): Argv<SnapshotPublishOptions> { |
| 15 | return addGithubTokenOption(argv) |
| 16 | .option('skip-non-affected-snapshots' as 'skipNonAffectedSnapshots', { |
| 17 | type: 'boolean', |
| 18 | description: |
| 19 | 'Whether to skip publishing snapshots for packages that are not affected by the current changes.', |
| 20 | default: false, |
| 21 | }) |
| 22 | .option('dry-run' as 'dryRun', { |
| 23 | type: 'boolean', |
| 24 | description: 'Whether to perform a dry run.', |
| 25 | default: false, |
| 26 | }); |
| 27 | } |
| 28 | |
| 29 | /** CLI command module for publishing snapshot releases. */ |
| 30 | export const ReleasePublishSnapshotsCommandModule: CommandModule<{}, SnapshotPublishOptions> = { |
nothing calls this directly
no test coverage detected