zyre_tools allows you to list Zyre nodes and groups, get info on them and listen to shouts from them.
- Zyre
- GNU Readline (
sudo apt-get install libreadline-dev
)
mkdir build
cd build
cmake ..
make
sudo make install
usage: zyrenode COMMAND [args]
Command line tool for printing information about zyre nodes
Commands:
list list all the zyre nodes in the network
info NODE_UUID provide info on a zyre node in the network
echo NODE_UUID print all the messages from a zyre group
pub NODE_UUID MESSAGE whisper message to a zyre group
pub NODE_UUID -f FILE whisper contents of file to a zyre group
optional arguments:
-h, --help show this help message and exit
usage: zyregroup COMMAND [args]
Command line tool for printing information about zyre groups
Commands:
list list all the zyre groups in the network
info GROUP provide info on a zyre groups in the network
echo GROUP print all the SHOUT messages from a zyre group
pub GROUP MESSAGE shout message to a zyre group
pub GROUP -f FILE shout contents of file to a zyre group
optional arguments:
-h, --help show this help message and exit
usage: zyrecli [node_name]
Command line interface for complete zyre based operations
Commands:
nl : list all peers
ni <uuid> : get info on a peer
necho <uuid> : echo shouts and whispers by a peer
gl : list all groups
gi <group name> : get info on a group
gecho <group name> : echo shouts on a group
join <group name> : join a group
leave <group name> : leave a group
stop : stop echoing whispers and shouts
s <group name> <message> : shout a message to a group
w <uuid> <message> : whisper a message to a peer
help : print list of available commands
q : quit program