DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
rust get command line arguments
use std::env; fn main() { let args: Vec<String> = env::args().collect(); println!("{:?}", args); }
Source by doc.rust-lang.org #
PREVIOUS
NEXT
Tagged:
#rust
#command
#line
#arguments
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit