Skip to content
This repository was archived by the owner on Aug 15, 2023. It is now read-only.

nathforge/linetimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linetimer

Run a command, prefixing each line with the current duration.

Example

$ linetimer bash -c "echo Beginning; sleep 1
                     echo Middle;    sleep 2
                     echo End;       sleep 3"
[0:00] Beginning
[0:01] Middle
[0:03] End
[0:06]

Installation

If you have Go you can install from source:

go get github.com/nathforge/linetimer/cmd/linetimer

Otherwise, download a file from the releases page. Extract with tar xzf FILENAME.tar.gz and move linetimer to a directory included in your system's PATH.

License

Apache 2.0. See LICENSE.

About

Run a command, prefixing each line with the current duration.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages