fn create_config_and_exit() {
    match make_default_config() {
        Ok(config_file_path) => {
            eprintln!(
                "Successfully created seed config file here: {}",
                config_file_path.to_str().unwrap()
            );
            process::exit(0);
        }
        Err(ConfigError(msg)) => {
            eprintln!("Could not create seed config: {}", msg);
            process::exit(1);
        }
        Err(_) => {
            eprintln!("Unknown error");
            process::exit(1);
        }
    }
}
/// Create seed config file and exit
Create seed config file and exit
Create seed config file and exit
fn create_config_and_exit() {
    match make_default_config() {
        Ok(config_file_path) => {
            eprintln!(
                "Successfully created seed config file here: {}",
                config_file_path.to_str().unwrap()
            );
            process::exit(0);
        }
        Err(ConfigError(msg)) => {
            eprintln!("Could not create seed config: {}", msg);
            process::exit(1);
        }
        Err(_) => {
            eprintln!("Unknown error");
            process::exit(1);
        }
    }
}
fn create_config_and_exit ( ) { match make_default_config ( ) { Ok ( config_file_path ) => { eprintln ! ( " " config_file_path to_str ( ) unwrap ( ) ) ; process :: exit ( 0 ) ; } Err ( ConfigError ( msg ) ) => { eprintln ! ( " " msg ) ; process :: exit ( 1 ) ; } Err ( _ ) => { eprintln ! ( " " ) ; process :: exit ( 1 ) ; } } }
Create seed config file and exit
Create seed config file and exit