ginol
v0.0.20
Published
Simple Command line notification for all platform desktop or cli notifier
Downloads
32
Readme
ginol
- A Simple notification command line utility that uses any operating system desktop notification system (ex. Toast, Growl)
ginol "Information message"
# Failure/Warn
ginol -f "My failure message"
# Success
ginol -s "Completed releasing of the Package (success message)"
Conditional CLI command
tar czf /backup/www.tar /var/www \
&& ginol -s "Backup www was a success"\
|| ginol -f "Backup www failed"
Usage in NPM Script
"scripts":[
"release":"npm run publish && ginol -s \"Completed releasing package\" || ginol -f \"Failed releasing package\""
"scripts":[
"release":"npm version patch && npm run publish && ginol -s \"Completed releasing package\" && git push || ginol -f \"Failed releasing package\""
Website
http://guillaumeisabelle.com/coding/ginol/