Macro combu::cmd [−][src]
macro_rules! cmd { ($name : ident => $t : tt) => { ... }; ($name : ident = : $t : tt) => { ... }; ($name : ident $sep : tt $t : tt) => { ... }; ($name : literal $sep : tt $t : tt) => { ... }; ($name : literal $sep : tt $t : tt) => { ... }; ($name : expr => { $($t : tt) + }) => { ... }; ($name : expr => ($($t : tt) +)) => { ... }; ($name : expr => [$(=) ? $action : expr, < ..., $($t : tt) +]) => { ... }; ($name : expr => [$(=) ? $action : expr, < from_crate, $($t : tt) +]) => { ... }; ($name : expr => [$(=) ? $action : expr, < $authors : expr, @ $copyright : tt, + $license : tt, $(=) + $desc : expr, : $usage : expr, l # $l_flags : expr, c # $c_flags : expr, & $alias : expr, n $ver : expr, | $sub : expr, ? $help : expr $(,) ?]) => { ... }; }
Expand description
create cmd helper with full detail