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

Function parseWeeklyOptions

scripts/changelog-weekly.ts:102–110  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

100}
101
102export function parseWeeklyOptions(args: string[]): WeeklyOptions {
103 const parsed = createDefaultOptions();
104
105 for (let index = 0; index < args.length; index += 1) {
106 index = parseArgument(args, index, parsed);
107 }
108
109 return finalizeOptions(parsed);
110}
111
112function createDefaultOptions(): MutableWeeklyOptions {
113 return {

Callers 2

mainFunction · 0.85

Calls 3

createDefaultOptionsFunction · 0.70
parseArgumentFunction · 0.70
finalizeOptionsFunction · 0.70

Tested by

no test coverage detected