Command line tool to remove retained MQTT topics by wildcard
$ sudo npm install -g mqtt-forget
Usage: mqtt-forget <Options>
Options:
-d, --debug Enable debug messages
-t, --topic MQTT topic, wildcards + and # allowed, may be repeated [required]
-u, --url MQTT broker url [default: "mqtt://127.0.0.1"]
-f, --force Remove topics without confirmation
--help Show help
--version Show version number
$ mqtt-forget -u ws://websocketbroker -t 'test/#'
$ mqtt-forget -u mqtt://user:password@broker -t '#' -f
Pull Requests welcome! :-)
MIT (c) 2017 Sebastian Raff