resolve

Function resolve 

Source
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:

  1. Template defaults
  2. Shell environment (if enabled)
  3. Profile-specific variables
  4. CLI overrides

§Arguments

  • profile - The profile to resolve environment for
  • merge_shell - Whether to merge with shell environment
  • overrides - CLI-provided environment overrides

§Returns

A HashMap of resolved environment variables