pub fn load_profiled(
dir: &Path,
profile: Option<&Profile>,
sets: &[String],
) -> Result<Spec>Expand description
Reads the spec in dir with a profile’s spec merged in (checked against the spec first:
see profile::Profile::check), then -s key=value overrides.
§Errors
Error, as load_with, or a profile that names what the spec doesn’t have.