6 releases
0.0.6 | Jun 1, 2024 |
---|---|
0.0.5 | Apr 16, 2024 |
0.0.4 | Feb 2, 2024 |
0.0.3 | Jan 2, 2024 |
0.0.1 | Jun 4, 2023 |
#919 in Command-line interface
24KB
82 lines
This is a plugin for shrs.
Using this plugin
First add this plugin to your dependencies
shrs_output_capture = { version = "0.0.6" }
Then include this plugin when initializing shrs
use shrs::prelude::*;
use shrs_output_capture::OutputCapturePlugin;
let myshell = ShellBuilder::default()
.with_plugin(OutputCapturePlugin)
.build()
.unwrap();
lib.rs
:
Capture stdout and stderr of previous command outputs
Dependencies
~17–34MB
~486K SLoC