Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

Pipeline expression AST and parser.

Supports three composition operators with precedence (high → low):

  • | Pipe — pass output of left as input to right
  • && Sequential — run right only if left succeeds (exit code 0)
  • , Parallel — run all branches concurrently

Structs§

PipelineOutput
Output produced by a single pipeline stage.

Enums§

PipelineExpr
Pipeline expression AST.
PipelineParseError
Errors from pipeline expression parsing.
PipelineStatus
Status of a pipeline stage execution.

Functions§

has_pipeline_syntax
Returns true if the input string contains pipeline operators.
inject_input
Replace {{input}} placeholders in a template string with the given value. If input is None, replaces with empty string.
parse_pipeline_expr
Parse a pipeline expression string into an AST.