Skip to content

Instantly share code, notes, and snippets.

@kurtroberts kurtroberts/session.sh
Last active Oct 31, 2018

Embed
What would you like to do?
Script Alerting Options
#/bin/bash
# Built in:
osascript <<EOF 2>/dev/null
display notification "test message" with title "title"
EOF
# yo- https://github.com/sheagcraig/yo
yo_scheduler -t "Title" -n "test message"
# terminal-notifier - `brew install terminal-notifier`
terminal-notifier -title "title" -message "message"
# alerter - https://github.com/vjeantet/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
You can’t perform that action at this time.