| Crates.io | mqtt-client-cli |
| lib.rs | mqtt-client-cli |
| version | 0.4.0 |
| created_at | 2023-04-10 06:37:27.046334+00 |
| updated_at | 2025-01-23 02:26:23.965163+00 |
| description | mqtt-client-cli - A CLI MQTT Client |
| homepage | |
| repository | https://github.com/ming900518/mqtt-client-cli |
| max_upload_size | |
| id | 834882 |
| size | 42,998 |
A CLI tool for fetching MQTT stream data.
Output can be printed out directly, or directly written into a text file with
the -o option.
Includes an HTTP Server (http://0.0.0.0:12345/) for fetching all available data with JSON.
Install Rust with rustup (Skip this step if already installed.)
Install dependencies (CMake and build related tools) from the package manager:
brew install cmakesudo apt install build-essential cmakeUse cargo command to install this tool.
cargo install mqtt-client-cli
mqtt-client-cli - A CLI MQTT Client
Usage: mqtt-client-cli [OPTIONS] --host <HOST URL>
Options:
-H, --host <HOST URL> Host. Required
-u, --username <USERNAME> Username. Optional
-p, --password <PASSWORD> Password. Optional
-t, --topic <TOPIC> Topic. Optional (Default = "#")
-o, --output <OUTPUT> Output Path. All data from the MQTT stream will be stored into the specified file
-h, --help Print help
-V, --version Print version