Send notifications to the OS X Notification Center using terminal-notifier.app
npm install -g osx-notifier
osx-notifier --type type of icon to show; one of "info", "fail", or "pass" [default: "info"] --title title of the notification [default: "Terminal"] --subtitle subtitle of the notification --message message body of the notification [required] --group replace and be replaced by any notifications of the same group --remove remove any notifications previously posted with this group (or ALL groups) --list list notifications previously posted with this group (or ALL groups) --activate bundle identifier of an application to be activated if the user clicks the notification --open open a url / file / custom url scheme if the user clicks the notification --execute execute a shell command if the user clicks the notification --help print this help message --verbose print extra output --version print version
The Mac OS X Notification Center can only be accessed via signed apps, and any message sent from an application must be accompanied by the icon for that application.
Three variations on the terminal-notifier are included with this app,
which are accessed via the different
Copyright © 2013 Christopher Brown. MIT Licensed.