Skip to content

Instantly share code, notes, and snippets.



Last active Oct 31, 2018
What would you like to do?
Script Alerting Options
# Built in:
osascript <<EOF 2>/dev/null
display notification "test message" with title "title"
# yo-
yo_scheduler -t "Title" -n "test message"
# terminal-notifier - `brew install terminal-notifier`
terminal-notifier -title "title" -message "message"
# alerter -
# uniquely, this one is blocking, so your script can react to its exit code
alerter -title "title" -message "message"
# node-notify-cli - npm install -g node-notify-cli - *cross-platform*
echo "My Message" | notify -t "Hello"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment