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.
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.
To install mqttcli, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install mqttcli
To see what files were installed by mqttcli, run:
port contents mqttcli
To later upgrade mqttcli, run:
sudo port selfupdate && sudo port upgrade mqttcli
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.