Switchboard: a curl-like tool for XMPP

I’m doing some testing and had the need for a scriptable XMPP client (for instance to create a lot of accounts automatically). I’ve ended up with Switchboard and I really like it a lot! Example invocation:

benjamin@benjamin-laptop:/var/lib/gems/1.8/bin$ ./switchboard -j user@something.com -p somepassword roster list
=> Switchboard started.
user@somethingcom's roster:
Shutdown initiated.

Easy right! Just do this on ubuntu/debian to get it:

sudo apt-get install rubygems
sudo gem install switchboard
cd /var/lib/gems/1.8/bin

I’m not very familiar with Ruby apps (probably this needs to be added to your path) but the tool works nicely!

More extensive documentation can be found here