terminal-notifier
Send macOS User Notifications. tldr-pages
On macOS
macOS
Send a notification (only the message is required)
terminal-notifier -group tldr-info -title TLDR -message 'TLDR rocks'IdentifyDisplay piped data with a sound
echo 'Piped Message Data!' | terminal-notifier -sound defaultIdentifyOpen a URL when the notification is clicked
terminal-notifier -message 'Check your Apple stock!' -open 'http://finance.yahoo.com/q?s=AAPL'IdentifyOpen an app when the notification is clicked
terminal-notifier -message 'Imported 42 contacts.' -activate com.apple.AddressBookIdentify