Awesome
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:
)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request