pub(crate) fn update_profile( config_file: Option<&Path>, profile: String, name: ProfileKey, value: String, ) -> Result<()>