Crates.io | sargparse |
lib.rs | sargparse |
version | 0.2.2 |
source | src |
created_at | 2022-05-20 16:59:39.088573 |
updated_at | 2022-06-19 21:06:43.787802 |
description | A sane argument parsing library for Rust |
homepage | https://github.com/frankhart2018/sargparse/ |
repository | https://github.com/frankhart2018/sargparse/ |
max_upload_size | |
id | 590384 |
size | 20,374 |
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.
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.
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"
Refer to the documentation markdown to get started.
SArgparse is licensed under the MIT license.