summaryrefslogtreecommitdiff
path: root/src/cmd/show_config.rs
blob: b4f4cdc06e6756480ca335df712fa5ee77ed674b (plain)
1
2
3
4
5
6
7
use crate::client::ClientConfig;
use crate::error::ObnamError;

pub fn show_config(config: &ClientConfig) -> Result<(), ObnamError> {
    println!("{}", serde_json::to_string_pretty(config)?);
    Ok(())
}