MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / toCamelCase

Function toCamelCase

src/runtime/naming.ts:33–35  ·  view source on GitHub ↗
(kebab: string)

Source from the content-addressed store, hash-verified

31 * simulator-name -> simulatorName
32 */
33export function toCamelCase(kebab: string): string {
34 return kebab.replace(/-([a-z])/g, (_match: string, letter: string) => letter.toUpperCase());
35}
36
37/**
38 * Convert CLI argv keys (kebab-case) back to tool param keys (camelCase).

Callers 1

convertArgvToToolParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected