Real world usage.
official clients
The official clients arent in the 0.2.0 package, so you need to install them with the standalone package: gem install irc_cat_clients.
configuration
- Create
.irccat.ymlin your home directory (~) - Add a profile in this file. The default profile is called 'default'.
default: host: 127.0.0.1 port: 4849
icat
It's the `cat` clone for irccat. It's accepts files or STDIN.
Params: -p profile_name
Examples:
$ ls | icat # Sends the output of `ls` to the default profile $ icat config.yml # Sends the content of config.yml to the default profile $ icat hello.txt hai.txt # Sends the contents of hello.txt and hai.txt to the default profile $ ls | icat -p haycat # Sends the output of `ls` to the 'haycat' profile $ icat <<< "HAI" # Sends HAI to the default profile. Useless, use iecho instead
iecho
Like icat, it's the `echo` clone for irccat.
Params: -p profile_name
Examples:
$ iecho "HAI2U!1" # Sends HAI2U!1 to the default profile $ iecho -p haycat "HAI" # Sends HAI to the haycat profile
other clients
merb-hook (Github multi-hook (Campfire, Twitter, irccat, ...)), cat notifier (for CruiseControl.rb).