zircote.com

development (in)action

Skulk PEAR Release 0.1.2

I am happy to announce the release of Skulk 0.1.2 for use with Prowl. This release introduces a command line zf provider for your messaging pleasure. More on its use and source code may be found at github@Skulk.

For PEAR installation and channel information, please see: http://pear.zircote.com/ for more details.

Setting up and using the Provider

Create the user config file for Zend_Tool

zf create config 
It will be located at ~/.zf.ini and can be opened in your preferred editor. Insure the Skulk library directory is in the include path, then execute the following:
$ zf enable config.provider Skulk_Tool_ProwlProvider Provider/Manifest 'Skulk_Tool_ProwlProvider' was enabled for usage with Zend Tool. 

You are ready to set up the configuration and send a message.

$ zf ? prowl Zend Framework Command Line Console Tool v1.11.5 Actions supported by provider "Prowl" Prowl zf addkey prowl keyname apikey zf delkey prowl keyname zf send-message prowl message priority[=normal] description url 

Add your API key(s) with the following command:

zf addkey prowl   

Now send a message:

$ zf send-message prowl 'test message' 988 messages left until May 8, 2011 5:58:48 PM