No description
Find a file
2019-12-03 14:45:16 -03:00
src Add nimble project 2019-11-27 23:24:21 -03:00
.gitignore Add nimble project 2019-11-27 23:24:21 -03:00
chronopipe.nimble Add nimble project 2019-11-27 23:24:21 -03:00
LICENSE Initial commit 2019-11-27 23:21:44 -03:00
README.md Update README.md 2019-12-03 14:45:16 -03:00

chrono Build Version Build Status

Show start/end datetime and duration of a command-line process using pipe.

Usage

program | chrono

Example:

sleep 5s | chrono
# [chrono] Started: 2019-10-19T02:55:58-03:00
# [chrono] Done: 2019-10-19T02:56:03-03:00
# [chrono] Duration: 5 seconds, 75 milliseconds, 13 microseconds, and 100 nanoseconds

Install

Using nimble package directory:

nimble install chronopipe

Development

Clone this repo then build with nimble:

nimble build