app
A easy-to-use command-line-parser written for Rust.
Usage
Cargo.toml
[]
= "0.6.0"
Or
[]
= { = "https://github.com/biluohc/app", = "master", = "0.6.0" }
Documentation
- Visit Docs.rs or
- Run
cargo doc --open
after modified the toml file.
Examples
- fht2p: Options and Args
git clone https://github.com/biluohc/app
cd app
cargo run --example fht2p -- -h
- cp: Options and
Multi_Args
git clone https://github.com/biluohc/app
cd app
cargo run --example cp
- zipcs:
Sub_Commands, OptValue and OptValueParse
git clone https://github.com/biluohc/app
cd app
cargo run --example zipcs
http
: Option's order in help message
git clone https://github.com/biluohc/app
cd app
cargo run --example http
- cargo-http: Custom
Helps
andcargo subcmd
git clone https://github.com/biluohc/app
cd app
cargo run --example cargo-http