Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Simple "one-line" Growler #15

Closed
kfdm opened this issue Nov 10, 2011 · 0 comments
Closed

Simple "one-line" Growler #15

kfdm opened this issue Nov 10, 2011 · 0 comments
Assignees
Milestone

Comments

@kfdm
Copy link
Owner

kfdm commented Nov 10, 2011

Have a simple one-line growler function that assumes more defaults and combines the register and notification steps for simple notifications.

Example

from gntp.simple import notify
# Default example assumes localhost with no password
# Internally will use GrowlNotifier and call both the register() and notify() methods
notify('ApplicationName', 'Notification Name', 'Notification Message')
@ghost ghost assigned kfdm Nov 10, 2011
@kfdm kfdm closed this as completed Nov 11, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant