
Overview
A simple, easy to use command argument parser for Rust.
Installation
- Initialise a cargo project ( you can skip this if you already have one )
- Add
rs-argsas a dependeny
= "<latest version>"
Usage
Now that you installed rs-args in your cargo project, you have
access to the CommandArguments struct. This is the main struct
of the project, and it allows you to automatically parse arguments.
You can call
default_new;
to retrieve the program arguments and parse them automaticaly, or you can call
from_input;
to input your own arguments, which you may have retrieved from the user.