Skip to content
Snippets Groups Projects

config save: Print update confirmation

Merged Moul requested to merge config_save_confirmation into master
Compare and
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -86,6 +86,7 @@ pub fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliError>
}
Subcommand::Save => {
confy::store(APP_NAME, None, &data.cfg).expect("unable to write config");
println!("Configuration updated!");
}
Subcommand::Default => {
confy::store(APP_NAME, None, Config::default()).expect("unable to write config");