[][src]Macro spurs::cmd

macro_rules! cmd {
    ($fmt:expr) => { ... };
    ($fmt:expr, $($arg:tt)*) => { ... };
}

A useful macro that allows creating commands with format strings and arguments.

This example is not tested
cmd!("ls {}", "foo")

is equivalent to the expression

This example is not tested
SshCommand::new(&format!("ls {}", "foo"))