pub fn parse_file(file: &str) -> Result<IndexMap<String, String>, EnvmntError>
Parses the provided env file and returns its content as a map of key/value.
file
- The file path to load and parse
extern crate envmnt;
fn main() {
let env = envmnt::parse_file("./src/test/var.env").unwrap();
println!("Parsed Env: {:?}", &env);
}