MCPcopy Create free account
hub / github.com/cloudconvert/cloudconvert-cli / toCamelCase

Function toCamelCase

src/commands/task-parameters.ts:55–57  ·  view source on GitHub ↗
(optionName: string)

Source from the content-addressed store, hash-verified

53}
54
55function toCamelCase(optionName: string): string {
56 return optionName.replace(/-([a-z])/g, (_, letter: string) => letter.toUpperCase());
57}
58
59function collectDynamicTaskParameters(argv: object, knownArgumentKeys: Set<string>): ParameterValues {
60 const parameters: ParameterValues = {};

Callers 1

getKnownArgumentKeysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected