Skip to content

Commit

Permalink
chore: v0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EdJoPaTo committed Dec 18, 2020
1 parent 391600d commit c06f2c6
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 18 deletions.
17 changes: 8 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mqttui"
version = "0.8.0"
version = "0.10.0"
description = "Subscribe to a MQTT Topic or publish something quickly from the terminal"
authors = ["EdJoPaTo <mqttui-rust@edjopato.de>"]
edition = "2018"
Expand Down
38 changes: 30 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,26 +54,48 @@ mqttui publish -h "test.mosquitto.org" "topic" "payload"
```

```plaintext
MQTT TUI 0.5.0
MQTT TUI 0.10.0
EdJoPaTo <mqttui-rust@edjopato.de>
Subscribe to a MQTT Topic or publish something quickly from the terminal
USAGE:
mqttui [FLAGS] [OPTIONS] [ARGS]
mqttui [OPTIONS] [TOPIC] [SUBCOMMAND]
FLAGS:
--help Prints help information
-i, --interactive Start in interactive mode
-V, --version Prints version information
-v, --verbose Show full MQTT communication
--help Prints help information
-V, --version Prints version information
OPTIONS:
-h, --host <HOST> Host on which the MQTT Broker is running [default: localhost]
-p, --port <INT> Port on which the MQTT Broker is running [default: 1883]
ARGS:
<TOPIC> Topic to watch or publish to [default: #]
<PAYLOAD> (optional) Payload to be published. If none is given it is instead subscribed to the topic.
<TOPIC> Topic to watch [default: #]
SUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
publish Publish a value quickly
```

```plaintext
mqttui-publish
Publish a value quickly
USAGE:
mqttui publish [FLAGS] [OPTIONS] <TOPIC> <PAYLOAD>
FLAGS:
--help Prints help information
-V, --version Prints version information
-v, --verbose Show full MQTT communication
OPTIONS:
-h, --host <HOST> Host on which the MQTT Broker is running [default: localhost]
-p, --port <INT> Port on which the MQTT Broker is running [default: 1883]
ARGS:
<TOPIC> Topic to publish to
<PAYLOAD> Payload to be published
```

Tip: Create an alias for the host you are working on:
Expand Down

0 comments on commit c06f2c6

Please sign in to comment.