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:

use clap::App; 

fn main() { 
       .about("Does great things!")
       .author("Kevin K.")

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

$ myapp --help
myapp 1.0 
Kevin K. 
Does great things! 

    myapp [FLAGS] 

    -h, --help Prints this message 
    -V, --version Prints version information