linetimer

module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2020 License: Apache-2.0

README

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 install 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.

Directories

Path Synopsis
cmd
linetimer command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL