argsparse

Crates.ioargsparse
lib.rsargsparse
version0.2.0
created_at2025-05-28 23:02:23.111279+00
updated_at2025-06-07 19:11:23.644652+00
descriptionYet another simple (and naive) argument parser
homepage
repositoryhttps://github.com/goncalompontes/argsparse
max_upload_size
id1693336
size36,024
(goncalompontes)

documentation

README

argsparse

Crates.io Docs.rs

A minimal and flexible argument parser for command-line applications, written in Rust.


📦 Features

  • Simple parsing of flags, options, and positional arguments
  • Convenient trait-based API for extracting values
  • Supports --, short -f and long --flag forms
  • Works with slices of &str (no global state)

🚀 Getting Started

Add to your Cargo.toml:

[dependencies]
argsparse = "0.1"
Commit count: 11

cargo fmt