Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (31 sloc) 837 Bytes

This is a command-line interface tool to ProcessOne Push Platform (P1PP).

Example usage:

First define you XMPP username and password in config file to avoid to have to pass it from command-line. For example, put this in ~/.p1pp.conf

:password: test

  :create: {}
  :delete: {}
  :list: {}
  :listen: {}
  :subscribe: {}
  :unsubscribe: {}
  :publish: {}

You can then create a first pubsub node with the following command:

$ p1.rb create test1 As user: Created node: test1

$ p1.rb list As user: You own the following nodes:

$ p1.rb delete test1 As user: Deleted node: test1

See XMPP protocol documentation at: