ginol

0.0.20 • Public • Published

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/

Package Sidebar

Install

npm i ginol

Weekly Downloads

1

Version

0.0.20

License

ISC

Unpacked Size

730 kB

Total Files

16

Last publish

Collaborators

  • jgi