1 unstable release

0.1.0 Oct 31, 2024

#901 in Command-line interface

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