load_profiles

Function load_profiles 

Source
pub fn load_profiles(config_path: &Path) -> Result<HashMap<String, Profile>>
Expand description

Loads profiles from a configuration file.

§Arguments

  • config_path - Path to the configuration file

§Returns

A HashMap of profile names to Profile instances