#run-command #command #execute #command-args

execute-command-macro

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

12 releases

0.1.11 Nov 23, 2025
0.1.10 Nov 23, 2025
0.1.9 Nov 20, 2023
0.1.8 May 1, 2022
0.1.2 Jun 27, 2020

#2495 in Parser implementations

Download history 10266/week @ 2025-10-13 7322/week @ 2025-10-20 8510/week @ 2025-10-27 7942/week @ 2025-11-03 6501/week @ 2025-11-10 6638/week @ 2025-11-17 4800/week @ 2025-11-24 5865/week @ 2025-12-01 5706/week @ 2025-12-08 5027/week @ 2025-12-15 3407/week @ 2025-12-22 3361/week @ 2025-12-29 4627/week @ 2026-01-05 4902/week @ 2026-01-12 5488/week @ 2026-01-19 5284/week @ 2026-01-26

20,855 downloads per month
Used in 111 crates (via 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

Dependencies

~150–550KB
~13K SLoC