use std::path::Path; use crate::Config; pub fn read_config_file(path: impl AsRef) -> Result { serde_dhall::from_file(path) .parse() .map_err(Into::into) }