clap or Command Line Argument Parser

Is a simple-to-use, efficient, and fully-configurable library for parsing command line arguments.

clap supports advanced features like argument relationships, subcommands, and much, much more.

A Quick Taste

The following Rust code is all it takes to get started:

 

If the user runs  $ myapp --help  the following would be printed