shrs_output_capture

Crates.ioshrs_output_capture
lib.rsshrs_output_capture
version0.0.6
sourcesrc
created_at2023-06-04 15:21:58.421258
updated_at2024-06-01 04:58:05.267762
descriptionCapture the previous stdout and stderr output
homepagehttps://mrpicklepinosaur.github.io/shrs/
repositoryhttps://github.com/MrPicklePinosaur/shrs
max_upload_size
id882308
size4,039
Daniel Liu (MrPicklePinosaur)

documentation

README

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.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();

Commit count: 440

cargo fmt