1 unstable release
0.0.6 | Jun 1, 2024 |
---|
#13 in #shrs
37KB
119 lines
Using this plugin
First add this plugin to your dependencies
shrs_command_timer = { version = "0.0.6" }
Then include this plugin when initializing shrs
use shrs::shell::ShellBuilder;
use shrs_file_history::FileBackedHistoryPlugin;
fn main() {
let myshell = ShellBuilder::default()
.with_plugin(FileBackedHistoryPlugin::new())
.build()
.unwrap();
myshell.run().expect("Error when running shell");
}
Dependencies
~16–29MB
~459K SLoC