Struct app::App [] [src]

pub struct App<'app> { /* fields omitted */ }

Application

Methods

impl<'app> App<'app>
[src]

name

version

discription

name, email

url_name, url

add a Opt

get arguments, App will update the value

arguments's help message

give a function let App to check Arguments

add a sub_command

impl<'app> App<'app>
[src]

parse(std::env::args()[1..]) and exit(1) if parse fails.

parse(&[String]) and exit(1) if parse fails.

Trait Implementations

impl<'app> Debug for App<'app>
[src]

Formats the value using the given formatter.

impl<'app> Default for App<'app>
[src]

Returns the "default value" for a type. Read more