1 unstable release

0.1.0 Oct 31, 2024

#826 in Command-line interface

Download history 103/week @ 2024-10-28 23/week @ 2024-11-04

126 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