#execute #command

execute-command-macro

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

7 releases

0.1.6 Apr 21, 2021
0.1.5 Jul 29, 2020
0.1.2 Jun 27, 2020

#543 in Parser implementations

Download history 95/week @ 2021-08-10 54/week @ 2021-08-17 82/week @ 2021-08-24 77/week @ 2021-08-31 157/week @ 2021-09-07 141/week @ 2021-09-14 206/week @ 2021-09-21 481/week @ 2021-09-28 602/week @ 2021-10-05 703/week @ 2021-10-12 2374/week @ 2021-10-19 995/week @ 2021-10-26 665/week @ 2021-11-02 718/week @ 2021-11-09 881/week @ 2021-11-16 794/week @ 2021-11-23

3,247 downloads per month
Used in 31 crates (via execute)

MIT license

6KB
54 lines

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–710KB
~18K SLoC