argsparse 0.2.0

Yet another simple (and naive) argument parser
Documentation
  • Coverage
  • 87.1%
    27 out of 31 items documented1 out of 1 items with examples
  • Size
  • Source code size: 35.55 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.02 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • goncalompontes/argsparse
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • goncalompontes

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"