Skip to content

Simple wrapper for growl, the notification system for OSX

License

Notifications You must be signed in to change notification settings

zachallett/growl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Growl

A simple wrapper to the command line interface for the Growl OSX notification system.

Setup

defp deps do
  [
    {:growl, github: "zachallett/growl"}
  ]

Usage

Within the script you would like to create a growl notification, make the module call as follows:

Growl.notify("This is a notification")

The API accepts messages in a string format, as well as a list. If the first argument is a list, the first object is the title line, with subsequent lines being the body of the notification.

Growl.notify(["Example", "This is an example notification"])

would give the following notification:

Forced Update)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Simple wrapper for growl, the notification system for OSX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages