CLEASY
Making command-line interfaces in Rust easy.
ABOUT
I've been writing an awful lot of command line applications in Rust lately. I'm sick and tired of manually parsing the options passed to my programs, so I decided to write a library to make my life easier. I know clap
would have been option but I don't like drama. clap
is drama I am not too keen to get into right now.
FEATURES
- Blazingly fast.
- Easy to use, no drama.
- Provides multiple options out of the box.
- Provides a
-h
or--help
flag out of the box. - Provides a
-v
or--version
flag out of the box.
INSTALLATION
To use Cleasy in your rust project, add this line to your project's Cargo.toml
's [dependencies]
section:
= { = "https://github.com/iamtheblackunicorn/cleasy", = "1.0.0" }
To import the library into your project's code, use this line:
use App;
To find out exactly how to use the library, please check out the section below.
EXAMPLE
An example using all of Cleasy's APIs can be found in the sample below:
/*
CLEASY by Alexander Abraham,
a.k.a. "Angeldust Duke" a.k.a. "The Black Unicorn".
Licensed under the MIT license.
*/
use App;
CHANGELOG
Version 1.0.0
- Initial release.
- Upload to GitHub.
NOTE
- Cleasy by Alexander Abraham a.k.a. "The Black Unicorn"
- Licensed under the MIT license.