Minor tweaks to output

This commit is contained in:
Dave Hrycyszyn
2024-06-06 16:03:36 +01:00
parent c05cc7b15c
commit 4c586ec22e
3 changed files with 3 additions and 2 deletions

View File

@@ -12,10 +12,13 @@ pub(crate) fn init(home: PathBuf, config: SideNodeConfig) -> Result<(), std::io:
ensure_side_directory_exists(&home)?;
let (key_path, config_path) = side_paths(home.clone());
println!("Writing key to: {:?}", key_path);
let pem = keys::setup();
keys::write(key_path, pem)?;
println!("Writing config to: {:?}", config_path);
config::write(&config, &config_path).expect("unable to write config file");
Ok(())
}