Expand description
YAML loading with shell-style environment variable interpolation, applied
to the raw file text before deserialization so every config value —
including nested plugin config — supports ${ENV_VAR:-default}.
Functions§
- interpolate_
env - Replaces
${VAR}and${VAR:-default}patterns with environment variable values. - interpolate_
env_ json - Recursively interpolates
${ENV_VAR:-default}patterns in every string leaf of a JSON value — object values, array elements, and nested combinations — leaving numbers, booleans, and null untouched. - load_
yaml_ with_ env - Loads a YAML file, interpolates environment variables, and deserializes into
T.