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
8,576 downloads per month
Used in 59 crates
(via execute)
4KB
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");
Crates.io
https://crates.io/crates/execute
Documentation
License
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