#execute #command

execute-command-macro

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

9 releases

0.1.8 May 1, 2022
0.1.7 Mar 10, 2022
0.1.6 Apr 21, 2021
0.1.5 Jul 29, 2020
0.1.2 Jun 27, 2020

#915 in Parser implementations

Download history 1468/week @ 2022-10-12 1462/week @ 2022-10-19 1676/week @ 2022-10-26 2660/week @ 2022-11-02 2413/week @ 2022-11-09 3275/week @ 2022-11-16 2843/week @ 2022-11-23 2380/week @ 2022-11-30 2538/week @ 2022-12-07 2380/week @ 2022-12-14 884/week @ 2022-12-21 863/week @ 2022-12-28 1850/week @ 2023-01-04 2161/week @ 2023-01-11 2203/week @ 2023-01-18 2048/week @ 2023-01-25

8,576 downloads per month
Used in 59 crates (via execute)

MIT license

4KB

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

~200–600KB
~14K SLoC