3 ms·
Yes, that's std::env::args[0], however a higher level wrapper (I prefer structopt[1]) makes it trivial to produce nice usage output etc. [0] https://doc.rust-l
by DougBTX 6y ago
Yes, that's std::env::args[0], however a higher level wrapper (I prefer structopt[1]) makes it trivial to produce nice usage output etc.
[0] https://doc.rust-lang.org/std/env/fn.args.html https://doc.rust-lang.org/std/env/fn.args.html
[1] https://github.com/TeXitoi/structopt https://github.com/TeXitoi/structopt