sarge
std-only command-line arguments parser
Sarge is a simple, lightweight argument parser. It has two styles of argument: short (e.g. -h) and long (e.g. --help), and three types: flag (bool, present equals true), int (i32, e.g. -n 123, --number 123 or --number=123) or string (String, e.g. -s foo, --str "foo bar" or --str=bar).
Arguments are registered with an ArgumentParser, and when you're ready, ArgumentParser::parse. Parsing does two things: it sets the value of each argument, and returns a Vec<String> of the values not associated with an argument. Arguments can be created easily via the arg! macro.
Arguments can be retrieved with ArgumentParser::arg(Tag). Tags are the post-dash part of the argument, i.e. help in --help. They can be created easily via the tag! macro.
Example:
use ;