mirror of
https://github.com/williamd1k0/chrono
synced 2026-01-13 09:31:36 +00:00
No description
| src | ||
| .gitignore | ||
| chronopipe.nimble | ||
| LICENSE | ||
| README.md | ||
chrono

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