ez 0.0.6

A collection of easy-to-use, beginner-friendly utilities for Rust.
Documentation
use {ez::main, std::collections::HashMap};

#[main]
fn main(_args: Vec<String>, env: HashMap<String, String>) -> u8 {
    let home = env.get("HOME");
    match home {
        Some(path) => {
            println!("HOME is: {path}");
            return 0;
        },
        None => {
            println!("fatal error: HOME not set");
            return 1;
        },
    }
}