#execute-command #execute #command #instance #macro #programs #command-args

execute-command-macro

Create Command instances using the command! macro or the command_args! marco

10 releases

0.1.9 Nov 20, 2023
0.1.8 May 1, 2022
0.1.7 Mar 10, 2022
0.1.6 Apr 21, 2021
0.1.2 Jun 27, 2020

#59 in #execute-command

Download history 4428/week @ 2024-01-17 3904/week @ 2024-01-24 3482/week @ 2024-01-31 3736/week @ 2024-02-07 4538/week @ 2024-02-14 4156/week @ 2024-02-21 4288/week @ 2024-02-28 4007/week @ 2024-03-06 5101/week @ 2024-03-13 4502/week @ 2024-03-20 4235/week @ 2024-03-27 4886/week @ 2024-04-03 4584/week @ 2024-04-10 4588/week @ 2024-04-17 3391/week @ 2024-04-24 2522/week @ 2024-05-01

16,022 downloads per month
Used in execute

MIT license

5KB

Execute Command Macro

CI

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");

Crates.io

https://crates.io/crates/execute

Documentation

https://docs.rs/execute

License

MIT


lib.rs:

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");

Dependencies

~295–740KB
~18K SLoC