pub fn bind_document(
doc: &mut Value,
supplied: &SuppliedParams,
mode: BindMode,
) -> CliResult<BoundParams>Expand description
Bind params in an untyped config document, in place.
Reads and validates the document’s own params: block, resolves each param
against supplied, then substitutes ${param.NAME} everywhere except
inside the params: block itself (a default is a literal, not a target).
Returns the bound values so the caller can echo/audit them (redacted).