pub fn init_config(&mut self, email: String) {
        if self.path.exists() {
            warn!("Config file {} already exists, leaving it unchanged.", self.path.to_string_lossy());
        } else {
            println!("Config file {} created, please edit it to finish configuration.", self.path.to_string_lossy());
            self.settings.config.email = Some(email);
            self.dirty = true;
            self.save();
        }
    }
/// Create a new configuration file with the given email.

Create a new configuration file with the given email.
Create a new configuration file with the given email .
pub fn init_config(&mut self, email: String) {
        if self.path.exists() {
            warn!("Config file {} already exists, leaving it unchanged.", self.path.to_string_lossy());
        } else {
            println!("Config file {} created, please edit it to finish configuration.", self.path.to_string_lossy());
            self.settings.config.email = Some(email);
            self.dirty = true;
            self.save();
        }
    }
pub fn init_config ( & mut self , email : String ) { if self . path . exists ( ) { warn ! ( " " self path to_string_lossy ( ) ) ; } else { println ! ( " " self path to_string_lossy ( ) ) ; self . settings . config . email = Some ( email ) ; self . dirty = true ; self . save ( ) ; } }
Create a new configuration file with the given email.
Create a new configuration file with the given email .
&mut self
email
String
&mut self
email
String