MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / parseArgument

Function parseArgument

scripts/release-prepare.ts:103–111  ·  view source on GitHub ↗
(args: string[], index: number, parsed: MutablePrepareOptions)

Source from the content-addressed store, hash-verified

101}
102
103function parseArgument(args: string[], index: number, parsed: MutablePrepareOptions) {
104 return parseVersionOptionArgument(args, index, parsed, {
105 inlineValueOptions: INLINE_VALUE_OPTIONS,
106 valueOptions: VALUE_OPTIONS,
107 booleanOptions: BOOLEAN_OPTIONS,
108 printUsage,
109 fail,
110 });
111}
112
113function finalizeOptions(parsed: MutablePrepareOptions): PrepareOptions {
114 if (!parsed.version) {

Callers 1

parsePrepareOptionsFunction · 0.70

Calls 1

Tested by

no test coverage detected