Struct app::Cmd [] [src]

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

Command

Methods

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

name

description

get arguments

set the Cmds args_optional as true(default is false),

App will will not check it's Args and create help message with tag of optional if it is true.

arguments's help message

add Opt

Trait Implementations

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

Formats the value using the given formatter.

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

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