Skip to content

Latest commit

 

History

History
59 lines (34 loc) · 1.57 KB

gntp-send.pod

File metadata and controls

59 lines (34 loc) · 1.57 KB

NAME

gntp-send - Utility for sending notifications to Growl using UDP or GNTP protocols

SYNOPSIS

gntp-send [-u] [-a APPNAME] [-n NOTIFY] [-s SERVER:PORT] [-i ICON] [-z NOTIFICATION_ICON] [-p PASSWORD] title message [url]

DESCRIPTION

Sends notification to local or remote Growl application over UDP or TCP network protocols. When the notification is sent over TCP using GNTP http callbacks and both local and remote icons are supported.

OPTIONS

-a APPLICATION
        application name , defaults to gntp-send

-n NOTIFICATION
        notification name , defaults to gntp-send notify

-s HOST:PORT , -s HOST
        host and port to send notification to , host defaults to localhost and the port defaults to the protocol default (tcp: 23053 , udp: 9887) , you can specify the host only and the port defaults to the protocol default

-p PASSWORD
        password , defaults to not attempting authentication

-u
        send the notification over UDP , by default the notification is sent over TCP using GNTP
        
-i     URL or local filename for application icon

-z     URL or local filename for notification icon

POSITIONAL ARGUMENTS

title 
        mandatory , title of the notification

message         
        mandatory , notification message

url     
        optional , url to call if the notification is clicked 

DIAGNOSTICS

Setting the environmental variable GNTP_DEBUG will cause the TCP traffic to be printed to STDOUT

0 if the notification was delivered to Growl , this does not mean it was accepted

-1 otherwise

BUGS

None