Ben Chuanlong Du's Blog

It is never too late to learn.

Parsing Command-line Arguments in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

There are 2 popular crates clap and structopt (based on clap) for this purpose. I personally prefer clap .