MCPcopy Create free account
hub / github.com/blockmatic/basilic / buildClientPath

Function buildClientPath

packages/cli/src/run-command.ts:24–26  ·  view source on GitHub ↗
(spec: CommandSpec)

Source from the content-addressed store, hash-verified

22}
23
24function buildClientPath(spec: CommandSpec): string[] {
25 return spec.path.map(seg => (seg.includes('-') ? toCamelCase(seg) : seg))
26}
27
28function parseBodyValue({ name, value }: { name: string; value: string }): unknown {
29 if (name === 'messages')

Callers 1

runCommandFunction · 0.85

Calls 1

toCamelCaseFunction · 0.70

Tested by

no test coverage detected