use std::env; fn main() { let args: Vec = env::args().collect(); println!("{:?}", args); for (key, value) in env::vars() { println!("{}: {}", key, value); } }