Macro shi::cmd[][src]

macro_rules! cmd {
    ( $name:expr, $exec:expr ) => { ... };
    ( $name:expr, $help:literal, $exec:expr ) => { ... };
}

Creates a leaf command from the given name and closure.