(kebab: string)
| 31 | * simulator-name -> simulatorName |
| 32 | */ |
| 33 | export 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). |
no outgoing calls
no test coverage detected