#command-line-arguments #command-line #getopt #terminal

gong

A lightweight, flexible and simple-to-use command line argument processor

12 stable releases

Uses old Rust 2015

1.4.2 Dec 15, 2020
1.4.1 Nov 25, 2020
1.4.0 Dec 31, 2018
1.3.1 Nov 21, 2018
0.1.0 Sep 28, 2015

#397 in Command-line interface

43 downloads per month

MIT/Apache

66KB
589 lines

gong

GitHub Workflow Status crates.io docs.rs min-rust-version

A lightweight, flexible and simple-to-use library provided to assist in processing command line arguments.

Usage

Add it as a dependency in your project’s Cargo.toml:

[dependencies]
gong = "1.0"

and this to your crate root:

extern crate gong;

See full library documentation for how to then use it to process arguments.

No runtime deps