resolve_profile_env

Function resolve_profile_env 

Source
pub fn resolve_profile_env(
    config: &LandConfig,
    profile_name: &str,
) -> HashMap<String, String>
Expand description

Resolves all environment variables for a profile.

This merges template variables with profile-specific variables, with profile variables taking precedence.

§Arguments

  • config - The loaded configuration
  • profile_name - Name of the profile to resolve

§Returns

HashMap of all environment variables for the profile