Skip to content
This repository

ProcessOne Push Platform Command Line

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 conf
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 p1pp.gemspec
Octocat-spinner-32 p1pp.rdoc
README.md

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

---
:jid: test@gmail.com
:password: test

commands:
  :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: test@gmail.com Created node: test1

$ p1.rb list As user: test@gmail.com You own the following nodes: mremond@process-one.net/test1 mremond@process-one.net/test2

$ p1.rb delete test1 As user: test@gmail.com Deleted node: test1

See XMPP protocol documentation at: https://support.process-one.net/doc/display/XMPP/P1PP+documentation

Something went wrong with that request. Please try again.