5 unstable releases

0.2.2 Jun 19, 2022
0.2.1 Jun 19, 2022
0.2.0 May 21, 2022
0.1.0 May 20, 2022
0.0.2 May 21, 2022

#497 in Command-line interface

MIT license

14KB
283 lines

SArgparse

SArgparse is a sane argument parsing library for Rust. It has the same API as python's argparse library which makes it quite relatable for people coming from a python environment.

Why did I create this?

I know there are similar libraries that do the same thing, but I felt that their API was contorted and truly ugly, I wanted to make sure that people don't have to spend too much time figuring out how to use a basic arugment parser and so I took python's API and copied it in this library.

Add this to your project

This crate is published to crates.io, and can be added to your project by simply adding this line to you Cargo.toml file:

sargparse = "0.2.2"

Documentation

Refer to the documentation markdown to get started.

License

SArgparse is licensed under the MIT license.

No runtime deps