toUpdateVersionOptions
Maps the values parseArgs reports for VERSION_ARGUMENT_OPTIONS onto UpdateVersionOptions.
Import:
import { toUpdateVersionOptions } from '@mnaoumov/typescript-dev-toolkit/version';Signature:
function toUpdateVersionOptions(values: { 'changelog-file'?: string; 'no-build'?: boolean; 'no-changelog-editing'?: boolean; 'no-checks'?: boolean; 'no-commit-verification'?: boolean; 'no-issue-closing'?: boolean; 'no-release'?: boolean; }): UpdateVersionOptionsParameters:
| Parameter | Type | Description |
|---|---|---|
values |
{ ‘changelog-file’?: string; ‘no-build’?: boolean; ‘no-changelog-editing’?: boolean; ‘no-checks’?: boolean; ‘no-commit-verification’?: boolean; ‘no-issue-closing’?: boolean; ‘no-release’?: boolean; } | The parsed values. |
Returns: UpdateVersionOptions — The options.
Links to this page: