Notify Me
How many times did you sit and wait for a docker image download?
Are you tired of looking at the terminal while npm
installs all packages as I am?
Today I learned about noti, an open source golang
based
terminal tool that monitors a process and triggers a notification when it’s done.
Usage
Once installed, all you need to do is add noti
in the beginning or end of your command
$ noti npm install
Pro Tip
Forgot to use noti? leverage the --pwatch
option with the process ID
$ noti --pwatch $(pgrep docker-compose)
It will trigger a notification when the pid disappears.
Installation
On macOS:
$ brew install noti
On any other:
$ go get -u github.com/variadico/noti/cmd/noti