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 |
#2475 in Parser implementations
18,814 downloads per month
Used in 96 crates
(via execute)
5KB
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
~235–680KB
~16K SLoC