app 0.6.0

A easy-to-use command-line-parser.
Documentation

Build status Latest version All downloads Downloads of latest version Documentation

app

A easy-to-use command-line-parser written for Rust.

Usage

Cargo.toml

    [dependencies]
    app = "0.6.0"

Or

    [dependencies]
    app = { git = "https://github.com/biluohc/app",branch = "master", version = "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
    git clone https://github.com/biluohc/app
    cd app
    cargo run --example cargo-http