速查知识库
获取应用程序启动参数
let args: Vec<String> = std::env::args().collect();
for arg in args {
println!("{}", arg);
}
let args: Vec<String> = std::env::args().collect();
for arg in args {
println!("{}", arg);
}