- Rust Standard Library Cookbook
- Jan Nils Ferner Daniel Durante
- 43字
- 2021-08-27 19:45:07
There's more...
If you are building a serious command-line utility in the style of *nix tools, you will have to parse a lot of different parameters. Instead of reinventing the wheel, you should take a look at third-party libraries, such as clap (https://crates.io/crates/clap).