shrs_file_history

Crates.ioshrs_file_history
lib.rsshrs_file_history
version0.0.6
sourcesrc
created_at2024-06-01 04:56:12.039328
updated_at2024-06-01 04:56:12.039328
descriptionFile backed history support
homepagehttps://mrpicklepinosaur.github.io/shrs/
repositoryhttps://github.com/MrPicklePinosaur/shrs
max_upload_size
id1258498
size60,751
Daniel Liu (MrPicklePinosaur)

documentation

README

shrs_file_history

file backed history MIT/Apache 2.0

This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

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");
}
Commit count: 440

cargo fmt