Set rich markdown mode to none
All checks were successful
build / build (push) Successful in 1m5s

This commit is contained in:
Torjus Håkestad 2024-10-07 23:36:18 +02:00
parent e556d8ecf1
commit 700ece0bad
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4
3 changed files with 19 additions and 28 deletions

View File

@ -1,30 +1,21 @@
# huecli # huecli
```console ```console
Usage: python -m huecli [OPTIONS] COMMAND [ARGS]... $ huecli --help
Usage: huecli [OPTIONS] COMMAND [ARGS]...
╭─ Options ──────────────────────────────────────────╮ Options:
│ --install-completion Install completion │ --install-completion [bash|zsh|fish|powershell|pwsh]
│ for the current │ Install completion for the specified shell.
│ shell. │ --show-completion [bash|zsh|fish|powershell|pwsh]
│ --show-completion Show completion for │ Show completion for the specified shell, to
│ the current shell, │ copy it or customize the installation.
│ to copy it or │ --help Show this message and exit.
│ customize the │
│ installation. │ Commands:
│ --help Show this message │ get-state Get the state of ID
│ and exit. │ set-brightness Set brigthness of ID to BRIGHTNESS
╰────────────────────────────────────────────────────╯ set-color Set the color of ID to COLOR where COLOR is either a...
╭─ Commands ─────────────────────────────────────────╮ set-state Set the state of ID to STATE
│ get-state Get the state of ID │ version Print huecli version
│ set-brightness Set brigthness of ID to │
│ BRIGHTNESS │
│ set-color Set the color of ID to COLOR │
│ where COLOR is either a known │
│ color value, or a comma separated │
│ RGB value, like "0.1,0.2,0.3". │
│ set-state Set the state of ID to STATE │
│ version Print huecli version │
╰────────────────────────────────────────────────────╯
``` ```

View File

@ -120,7 +120,7 @@ def rgb_to_xy(red, green, blue) -> XYColor:
return XYColor(x, y) return XYColor(x, y)
app = typer.Typer() app = typer.Typer(rich_markup_mode=None)
@app.command() @app.command()

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "huecli" name = "huecli"
version = "0.1.5" version = "0.1.6"
description = "Set Philips Hue lights using MQTT" description = "Set Philips Hue lights using MQTT"
authors = ["Torjus Håkestad <torjus@uio.no>"] authors = ["Torjus Håkestad <torjus@uio.no>"]
license = "MIT" license = "MIT"