pub fn new() -> Result<Smeagol, SmeagolError> {
        debug!("Initializing");

        let config_file = std::env::var("SMEAGOL_CONF").unwrap_or("Smeagol.toml".to_string());

        Ok(Smeagol {
            handlebars: Arc::new(Self::initialize_handlebars()?),
            config: Arc::new(Config::load(&config_file)?),
        })
    }
/// Initializes the Smeagol instance.
///
/// This reads the config file and initializes the template engine.
Initializes the Smeagol instance.
This reads the config file and initializes the template engine.
Initializes the Smeagol instance . This reads the config file and initializes the template engine .
pub fn new() -> Result<Smeagol, SmeagolError> {
        debug!("Initializing");
        let config_file = std::env::var("SMEAGOL_CONF").unwrap_or("Smeagol.toml".to_string());
        Ok(Smeagol {
            handlebars: Arc::new(Self::initialize_handlebars()?),
            config: Arc::new(Config::load(&config_file)?),
        })
    }
pub fn new ( ) -> Result < Smeagol , SmeagolError > { debug ! ( " " ) ; let config_file = std :: env :: var ( " " ) . unwrap_or ( " " . to_string ( ) ) ; Ok ( Smeagol { handlebars : Arc :: new ( Self :: initialize_handlebars ( ) ? ) , config : Arc :: new ( Config :: load ( & config_file ) ? ) , } ) }
Initializes the Smeagol instance.
Initializes the Smeagol instance .