pub fn resolve(
profile: &Profile,
merge_shell: bool,
overrides: &[(String, String)],
) -> Result<HashMap<String, String>>Expand description
Resolves environment variables for a run profile.
This function combines environment variables from multiple sources:
- Template defaults
- Shell environment (if enabled)
- Profile-specific variables
- CLI overrides
§Arguments
profile- The profile to resolve environment formerge_shell- Whether to merge with shell environmentoverrides- CLI-provided environment overrides
§Returns
A HashMap of resolved environment variables