Easy way to deal with parsing commandline arguments
Crate on crates.io.
Documentation on docs.rs or by running cargo doc --open
.
std::env::args
. I will try to fix it at some point.std::env::Args
returns, so using an &str
, or even a &'static str
would result in a dangling pointer. Afaik, using string slices wouldn't be possible in rust.