pub fn resolve(
template_env: HashMap<String, String>,
profile_env: HashMap<String, String>,
script_env: HashMap<String, String>,
preserve_current: bool,
) -> HashMap<String, String>Expand description
Resolves the final set of environment variables (simplified version).
This function merges variables from:
- Template defaults
- Profile-specific static variables
- Rhai script output
- Current process environment
§Arguments
template_env- Environment variables from templatesprofile_env- Environment variables from profilescript_env- Environment variables from Rhai scriptpreserve_current- Whether to preserve current process environment
§Returns
Final resolved HashMap of environment variables