Cargo.toml
[dependencies]
app = "0.6.5"
[dependencies]
app = { git = "https://github.com/biluohc/app",branch = "master", version = "0.6.5" }
- Visit Docs.rs
Or
- Run
cargo doc --open
after modified the toml file.
git clone https://github.com/biluohc/app
- fht2p: Options and Args
cargo run --example fht2p -- -h
- cp: Options and Multi Args
cargo run --example cp
- cpfn: Options, Multi Args and the help funcions.
cargo run --example cpfn
- zipcs:
Sub_Commands, OptValue and OptValueParse
cargo run --example zipcs
http
: Option's order in help message
cargo run --example http
- cargo-http: Custom
Helps
andcargo 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 |