Macro command

Source
command!() { /* proc-macro */ }
Expand description

Generate the statements at compile time to create a Command instance by a command string.

#[macro_use] extern crate execute_command_macro;

let command = command!("program arg1 arg2 -opt1 -opt2");