arglite

Crates.ioarglite
lib.rsarglite
version0.1.0
sourcesrc
created_at2024-10-31 14:01:17.303518
updated_at2024-10-31 14:01:17.303518
descriptionA lightweight argument parser for command-line applications.
homepagehttps://github.com/kortgrabb/arglite
repositoryhttps://github.com/kortgrabb/arglite
max_upload_size
id1430069
size9,381
Tim Herdemark (kortgrabb)

documentation

https://docs.rs/arglite

README

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 = "*"
Commit count: 5

cargo fmt