Function mg::parse_config
source · pub fn parse_config<P: AsRef<Path>, COMM: EnumFromStr>(
filename: P,
user_modes: Modes,
include_path: Option<PathBuf>
) -> (Parser<COMM>, ParseResult<COMM>, HashMap<&'static str, Mode>)
Expand description
Parse a configuration file.