returnErr(MeliError::new(format!("File `{}` already exists.\nMaybe you meant to specify another path with --create-config=PATH",config_path.display())));
}
letmutfile=std::fs::OpenOptions::new()
.write(true)
.create_new(true)
.open(config_path.as_path())
.map_err(|e|MeliError::new(format!("Could not create config file:\n{}",e)))?;