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

Function parseArgs

scripts/draft-changelog.ts:128–136  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

126}
127
128export function parseArgs(args: string[]): Options {
129 const parsed = createDefaultOptions();
130
131 for (let index = 0; index < args.length; index += 1) {
132 index = parseArgument(args, index, parsed);
133 }
134
135 return finalizeOptions(parsed);
136}
137
138function createDefaultOptions(): MutableOptions {
139 return {

Callers 2

mainFunction · 0.70

Calls 3

createDefaultOptionsFunction · 0.70
parseArgumentFunction · 0.70
finalizeOptionsFunction · 0.70

Tested by

no test coverage detected