intermodal/bin/gen/src/cmd.rs
Casey Rodarmor 04338e3501
Merge documentation and changelog generation
Merge documentation generation into a single binary, `bin/gen`. This
includes: The changelog, man pages, the readme, and the book.

type: reform
2020-04-17 21:31:54 -07:00

18 lines
199 B
Rust

macro_rules! cmd {
{
$bin:expr,
$($arg:expr),*
$(,)?
} => {
{
let mut command = Command::new($bin);
$(
command.arg($arg);
)*
command
}
}
}