Expand description
§Execute Command Macro
Create Command instances using the command! macro or the command_args! macro.
Also see execute.
§Examples
#[macro_use] extern crate execute_command_macro;
let command = command!("program arg1 arg2 'arg 3' -opt1 -opt2");#[macro_use] extern crate execute_command_macro;
let command = command_args!("program", "arg1", "arg2", "-opt1", "-opt2");Macros§
- command
- Generate the statements at compile time to create a
Commandinstance by a command string. - command_
args - Create a
Commandinstance by inputting args separately.