1 unstable release

0.1.0 Oct 31, 2024

#823 in Command-line interface

Download history 95/week @ 2024-10-27 29/week @ 2024-11-03 2/week @ 2024-11-10 6/week @ 2024-11-17

132 downloads per month

MIT license

8KB
132 lines

ArgLite

A lightweight argument parser for Rust command-line applications.

Features

  • Simple API for parsing command-line arguments
  • Support for flags (e.g., --verbose)
  • Support for positional arguments
  • Zero dependencies
  • Error handling for unknown flags and missing arguments

Installation

Add this to your Cargo.toml:

[dependencies]
arglite = "0.1.0"

Or, to automatically pull in the latest version:

[dependencies]
arglite = "*"

No runtime deps