OSX Terminal Notifier: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m →Usage |
||
Line 15: | Line 15: | ||
Please note: The sender is required. | Please note: The sender is required. | ||
To see help: | |||
<pre> | |||
$ terminal-notifier -help | |||
</pre> | |||
== See also == | == See also == |
Revision as of 20:57, 16 February 2014
Excellent third party tool called terminal-notifier, can post alerts and messages to Notification Center directly from the command line.
Install
Assuming you have ruby on the Mac, you can easily install terminal-notifier using gem:
$ sudo gem install terminal-notifier
Usage
Once installed, using the command at it’s most basic core is as follows:
$ terminal-notifier -message "Hello, this is my message" -title "Message Title" -sender "com.apple.terminal"
Please note: The sender is required.
To see help:
$ terminal-notifier -help
See also
- OSX-daily, Terminal Notifier.