use crate::Config; use log::trace; use std::path::Path; pub fn dump(filename: &Path) -> anyhow::Result<()> { trace!("dump: filename={:?}", filename); let config = Config::read(filename)?; println!("{}", serde_json::to_string(&config)?); Ok(()) }