structopt is a great crate for command line parsing. It sits on top of clap and parses the command line arguments directly into structs and enums. For icing on the cake, consider pawn that allows you to use a structopt struct as an argument to main.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
structopt
is a great crate for command line parsing. It sits on top ofclap
and parses the command line arguments directly into structs and enums. For icing on the cake, considerpawn
that allows you to use a structopt struct as an argument tomain
.