Registry / utility / command-macros

command-macros

JSON →
library0.2.9rscratesunverified

Macros for creating std::process::Command with shell-like syntax.

# Cargo.toml [dependencies] command-macros = "0.2.9"
INSTALL
IMPORT
SIG · COMMAND-MACROS
C
command-macros
utilityrustv0.2.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cmd
use command_macros::cmd;

Run a shell command using the cmd! macro

use command_macros::cmd; fn main() { let output = cmd!("echo hello").output().unwrap(); println!("{}", String::from_utf8_lossy(&output.stdout)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.9latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
command-macros — cargo add command-macros · libregistry