mqttcli is a program that provides two subcommands (pub and sub) that allow command-line level access to an MQTT broker. sub subscribes to a topic and prints messages received to standard output. pub publishes the provided message to the provided topic. Both programs accept flags that can be provided as a config file.

WWW: https://github.com/subpop/mqttcli
