Crates.io | app |
lib.rs | app |
version | 0.6.5 |
source | src |
created_at | 2017-04-03 03:29:36.98744 |
updated_at | 2018-03-02 15:27:27.833274 |
description | A easy-to-use command-line-parser. |
homepage | |
repository | https://github.com/biluohc/app |
max_upload_size | |
id | 9449 |
size | 137,297 |
Cargo.toml
[dependencies]
app = "0.6.5"
[dependencies]
app = { git = "https://github.com/biluohc/app",branch = "master", version = "0.6.5" }
Or
cargo doc --open
after modified the toml file. git clone https://github.com/biluohc/app
cargo run --example fht2p -- -h
cargo run --example cp
cargo run --example cpfn
Sub_Commands, OptValue and OptValueParse
cargo run --example zipcs
http
: Option's order in help message cargo run --example http
Helps
and cargo subcmd
cargo run --example cargo-http
name | status | exapmle |
---|---|---|
Flag | √ | ls --help , cargo -V |
Option | √ | http --port 8080 , rustc -o filename |
Args | √ | rm Path1 Path2 Path3 |
SubCMD | √ | cargo run , cargo doc |
Flags aggregation | √ | ls -a -l => ls -al |
Multi Args | √ | cp SOURCE1 SOURCE2 SOUCE3 DEST |
Optional for Option and Args | √ | |
Dependencies and Conflicts between Options | x |