Skip to main content

Module interpolation

Module interpolation 

Source
Expand description

Variable interpolation engine for batch operation arguments.

Replaces {{variable}} placeholders in operation argument strings with values from the variable store. Scalar variables produce their string value; list variables (from capture_append) produce a JSON array literal.

Structs§

VariableStore
Combined variable store holding both scalar and list captures.

Functions§

interpolate_args
Interpolates all {{variable}} references in a list of arguments.
interpolate_string
Interpolates {{variable}} references in a single string.