Answers for "rust get command line arguments"

2

rust get command line arguments

use std::env;

fn main() {
    let args: Vec<String> = env::args().collect();
    println!("{:?}", args);
}
Posted by: Guest on December-10-2020

Code answers related to "rust get command line arguments"

Browse Popular Code Answers by Language