Registry / cli / xshell

xshell

JSON →
library0.2.7rscratesunverified

Utilities for quick shell scripting in Rust, providing ergonomic command execution.

# Cargo.toml [dependencies] xshell = "0.2.7"
INSTALL
IMPORT
SIG · XSHELL
X
xshell
clirustv0.2.7
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.

Shell
use xshell::Shell;

Runs a shell command and prints its output.

use xshell::Shell; fn main() -> Result<(), Box<dyn std::error::Error>> { let sh = Shell::new()?; let output = sh.cmd("echo").arg("hello").output()?; println!("{}", String::from_utf8_lossy(&output.stdout)); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
34
OpenAI (training)
1
Resources
xshell — cargo add xshell · libregistry