MCPcopy Create free account
hub / github.com/Noumena-Network/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 8

agentsmd.tsFile · 0.50
getDirectoriesToProcessFunction · 0.50
tryGetPDFReferenceFunction · 0.50
generateFileAttachmentFunction · 0.50
claudemd.tsFile · 0.50
parseJSONLBunFunction · 0.50
getShellArgsFunction · 0.50
ws_url_from_baseFunction · 0.50

Calls 1

doParseFunction · 0.85

Tested by

no test coverage detected