MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / capitalizeWords

Function capitalizeWords

cli/src/utils/codebuff-client.ts:116–118  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

114 }
115
116 const capitalizeWords = (str: string) => {
117 return str.replace(/_/g, ' ').replace(/\b\w/g, (l) => l.toUpperCase())
118 }
119
120 return {
121 name: TOOL_NAME_OVERRIDES[toolName] ?? capitalizeWords(toolName),

Callers 1

getToolDisplayInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected