command-stream for Rust
Rust implementation of command-stream: a shell command execution library with streaming, events, shell parsing, virtual commands, and built-in command support.
Installation
Library Usage
use CommandResult;
use EchoCommand;
use VirtualCommand;
async
Command Line
The crate also builds a command-stream binary:
Features
- Shell parser for pipelines, command lists, logical operators, and redirection.
- Built-in command implementations for file-system and shell utility commands.
- Async execution with
tokio. - Virtual command abstractions for embedding command behavior in Rust programs.
- Cross-platform tests covering parser, state, events, streams, and built-ins.
Development
Rust release automation lives in scripts/ and is controlled by
.github/workflows/rust.yml from the repository root.