Crate app [] [src]

app

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

Usage

Cargo.toml

    [dependencies]  
    app = "0.6.5" 

Or

    [dependencies]  
    app = { git = "https://github.com/biluohc/app",branch = "master", version = "0.6.5" }

Documentation

Or

Examples

    git clone https://github.com/biluohc/app
    cargo run --example fht2p -- -h
    cargo run --example cp
    cargo run --example cpfn
    cargo run --example zipcs
    cargo run --example http
    cargo run --example cargo-http

Modules

statics

Mut Statics

Structs

App

Application

Args

Args

ArgsValue

ArgsValue

Cmd

Command

Helper

Helper

Helps

Helps

Opt

Option

OptValue

OptValue

Enums

AppError

AppError

OptTypo

OptionType

Traits

ArgsValueParse

You can use custom ArgsValue by impl it

OptValueParse

You can use custom OptValue by impl it

Functions

app

A help function for App

args

A help function for Args

opt

A help function for Opt