# clap::clap_app! [−] [src]

    macro_rules! clap_app {
        (@app ($builder:expr)) => { ... };
        (@app ($builder:expr) (@arg $name:ident: $($tail:tt)*) $($tt:tt)*) => { ... };
        (@app ($builder:expr) (@setting $setting:ident) $($tt:tt)*) => { ... };
        (@app ($builder:expr) (@attributes $($attr:tt)*) $($tt:tt)*) => { ... };
        (@app ($builder:expr) (@group $name:ident => $($tail:tt)*) $($tt:tt)*) => { ... };
        (@app ($builder:expr) (@subcommand $name:ident => $($tail:tt)*) $($tt:tt)*) => { ... };
        (@app ($builder:expr) ($ident:ident: $($v:expr),*) $($tt:tt)*) => { ... };
        (@group ($builder:expr, $group:expr)) => { ... };
        (@group ($builder:expr, $group:expr) (@attributes $($attr:tt)*) $($tt:tt)*) => { ... };
        (@group ($builder:expr, $group:expr) (@arg $name:ident: $($tail:tt)*) $($tt:tt)*) => { ... };
        (@arg ($arg:expr) $modes:tt) => { ... };
        (@arg ($arg:expr) $modes:tt --$long:ident $($tail:tt)*) => { ... };
        (@arg ($arg:expr) $modes:tt -$short:ident $($tail:tt)*) => { ... };
        (@arg ($arg:expr) (-) <$var:ident> $($tail:tt)*) => { ... };
        (@arg ($arg:expr) (+) <$var:ident> $($tail:tt)*) => { ... };
        (@arg ($arg:expr) (-) [$var:ident] $($tail:tt)*) => { ... };
        (@arg ($arg:expr) (+) [$var:ident] $($tail:tt)*) => { ... };
        (@arg ($arg:expr) $modes:tt ... $($tail:tt)*) => { ... };
        (@arg ($arg:expr) $modes:tt #{$n:expr, $m:expr} $($tail:tt)*) => { ... };
        (@arg ($arg:expr) $modes:tt * $($tail:tt)*) => { ... };
        (@arg ($arg:expr) $modes:tt !$ident $($tail:tt)*) => { ... };
        (@arg ($arg:expr) $modes:tt +$ident:ident $($tail:tt)*) => { ... };
        (@arg ($arg:expr) $modes:tt {$fn_:expr} $($tail:tt)*) => { ... };
        (@as_expr $expr:expr) => { ... };
        (@arg ($arg:expr) $modes:tt $desc:tt) => { ... };
        (@arg ($arg:expr) $modes:tt $ident:ident[$($target:ident)*] $($tail:tt)*) => { ... };
        (@arg ($arg:expr) $modes:tt $ident:ident($($expr:expr)*) $($tail:tt)*) => { ... };
        (@subcommand $name:ident => $($tail:tt)*) => { ... };
        ($name:ident => $($tail:tt)*) => { ... };
    }

App, Arg, SubCommand and Group builder macro (Usage-string like input)

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)