Skip to content

@nogoo9/mcp-server-cloud-fs / tools/shell/parser / parsePipeline

Function: parsePipeline()

parsePipeline(tokens): ParsedPipeline

Defined in: tools/shell/parser.ts:106

Parse a tokenized command into a pipeline with optional redirections.

Supports: cmd1 | cmd2 | cmd3 cmd < input.txt cmd > output.txt cmd >> output.txt cmd < in.txt | cmd2 > out.txt

Parameters

tokens

string[]

Returns

ParsedPipeline

Released under the PolyForm Shield 1.0.0 License.