The easiest way to use a command line argument in Rust is to put an iterator over the input arguments. Users can access the command line arguments by using functions such as
std::env::args_os or std::env::args

BY Best Interview Question ON 13 Jan 2019