5 releases

0.0.5 Apr 16, 2024
0.0.4 Feb 2, 2024
0.0.3 Jan 2, 2024
0.0.2 Nov 13, 2023
0.0.1 Jun 4, 2023

#808 in Command-line interface

Download history 7/week @ 2024-01-01 3/week @ 2024-01-29 6/week @ 2024-02-19 7/week @ 2024-02-26 88/week @ 2024-03-11 7/week @ 2024-04-01 169/week @ 2024-04-15

176 downloads per month

MIT/Apache

25KB
98 lines

shrs_output_capture

shrs plugin to capture command output

crates.io MIT/Apache 2.0

This is a plugin for shrs.

Using this plugin

First add this plugin to your dependencies

shrs_output_capture = { version = "0.0.5" }

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

~15–30MB
~432K SLoC