shrs_command_timer

Crates.ioshrs_command_timer
lib.rsshrs_command_timer
version0.0.6
sourcesrc
created_at2023-06-04 15:16:05.683976
updated_at2024-06-01 04:54:58.13833
descriptionshrs plugin to time how long the previous command took to run
homepagehttps://mrpicklepinosaur.github.io/shrs/
repositoryhttps://github.com/MrPicklePinosaur/shrs
max_upload_size
id882303
size58,858
Daniel Liu (MrPicklePinosaur)

documentation

README

shrs_command_timer

shrs plugin to time runtime of commands

crates.io MIT/Apache 2.0

This is a plugin for 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::prelude::*;
use shrs_command_timer::CommandTimerPlugin;

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

Commit count: 440

cargo fmt