Skip to main content

Module resolve

Module resolve 

Source

Functions§

find_unused_params
Return the names of --param key=value entries whose ${key} placeholder does not appear in haystack. Sorted for deterministic warning order.
parse_file_size
Parse a human-readable file size like “512MB”, “1GB”, “100KB” into bytes.
resolve_env_vars
Convenience wrapper: resolve ${VAR} from environment only.
resolve_vars
Replaces ${VAR} patterns with values from params (if provided) or environment variables. Params take precedence over env vars.
warn_unused_params
F10 (0.7.5 audit): warn loudly when --param key=value was passed but ${key} never appears anywhere the resolver searched. A common typo (--param maxid=… vs ${max_id}) is otherwise silently ignored and the operator gets unexpected results.