#execute-command #command #execute #macro #instance #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

#2415 in Parser implementations

Download history 4925/week @ 2024-10-04 4958/week @ 2024-10-11 5149/week @ 2024-10-18 4804/week @ 2024-10-25 3883/week @ 2024-11-01 3098/week @ 2024-11-08 3245/week @ 2024-11-15 4139/week @ 2024-11-22 4105/week @ 2024-11-29 4219/week @ 2024-12-06 3914/week @ 2024-12-13 2743/week @ 2024-12-20 1821/week @ 2024-12-27 4160/week @ 2025-01-03 3976/week @ 2025-01-10 3344/week @ 2025-01-17

13,634 downloads per month
Used in 97 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


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

~220–660KB
~16K SLoC