sargparse

Crates.iosargparse
lib.rssargparse
version0.2.2
sourcesrc
created_at2022-05-20 16:59:39.088573
updated_at2022-06-19 21:06:43.787802
descriptionA sane argument parsing library for Rust
homepagehttps://github.com/frankhart2018/sargparse/
repositoryhttps://github.com/frankhart2018/sargparse/
max_upload_size
id590384
size20,374
Siddhartha Dhar Choudhury (He/Him) (frankhart2018)

documentation

https://github.com/frankhart2018/sargparse/blob/master/docs.md

README

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.

Commit count: 29

cargo fmt