MCPcopy
hub / github.com/claude-code-best/claude-code / parse

Function parse

src/utils/bash/ParsedCommand.ts:310–317  ·  view source on GitHub ↗

* Parse a command string and return a ParsedCommand instance. * Returns null if parsing fails completely.

(command: string)

Source from the content-addressed store, hash-verified

308 * Returns null if parsing fails completely.
309 */
310 parse(command: string): Promise<IParsedCommand | null> {
311 if (command === lastCmd && lastResult !== undefined) {
312 return lastResult
313 }
314 lastCmd = command
315 lastResult = doParse(command)
316 return lastResult
317 },
318}

Callers 10

listNamedWorkflowsFunction · 0.85
getDirectoriesToProcessFunction · 0.85
tryGetPDFReferenceFunction · 0.85
generateFileAttachmentFunction · 0.85
claudemd.tsFile · 0.85
emitLineFunction · 0.85
parseJSONLBunFunction · 0.85
getMcpConfigsByScopeFunction · 0.85
waitForCallbackFunction · 0.85
performMCPOAuthFlowFunction · 0.85

Calls 1

doParseFunction · 0.85

Tested by

no test coverage detected