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

Function parseArgument

scripts/draft-changelog.ts:146–154  ·  view source on GitHub ↗
(args: string[], index: number, parsed: MutableOptions)

Source from the content-addressed store, hash-verified

144}
145
146function parseArgument(args: string[], index: number, parsed: MutableOptions) {
147 return parseVersionOptionArgument(args, index, parsed, {
148 inlineValueOptions: INLINE_VALUE_OPTIONS,
149 valueOptions: VALUE_OPTIONS,
150 booleanOptions: BOOLEAN_OPTIONS,
151 printUsage,
152 fail,
153 });
154}
155
156function finalizeOptions(parsed: MutableOptions): Options {
157 if (!parsed.version) {

Callers 1

parseArgsFunction · 0.70

Calls 1

Tested by

no test coverage detected