Using Plugins

Plugins are just regular crates that can be obtained from crates.io. Most shrs related crates have the prefix shrs_. Simply add the crate to your project. To make shrs use the plugin, it's as using as using with_plugin when constructing the shell and pass in the plugin.

let myshell = ShellBuilder::default()
    .with_plugin(OutputCapturePlugin)
    .build()
    .unwrap();

myshell.run();