pub fn new(game_selected: String, verbosity_level: u8) -> Result<Self> {
		init_config_path()?;
		Ok(Self {
            game_selected: Some(SUPPORTED_GAMES.get_supported_game_from_key(&game_selected)?.clone()),
			verbosity_level,
		})
	}
/// This function creates a new Config struct configured for the provided game.
This function creates a new Config struct configured for the provided game.
This function creates a new Config struct configured for the provided game .
pub fn new(game_selected: String, verbosity_level: u8) -> Result<Self> {
		init_config_path()?;
		Ok(Self {
            game_selected: Some(SUPPORTED_GAMES.get_supported_game_from_key(&game_selected)?.clone()),
			verbosity_level,
		})
	}
pub fn new ( game_selected : String , verbosity_level : u8 ) -> Result < Self > { init_config_path ( ) ? ; Ok ( Self { game_selected : Some ( SUPPORTED_GAMES . get_supported_game_from_key ( & game_selected ) ? . clone ( ) ) , verbosity_level , } ) }
This function creates a new Config struct configured for the provided game.
This function creates a new Config struct configured for the provided game .
game_selected
String
verbosity_level
u8
game_selected
String
verbosity_level
u8