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 ──────────────────────────────────────────╮
│ --install-completion Install completion │
│ for the current │
│ shell. │
│ --show-completion Show completion for │
│ the current shell, │
│ to copy it or │
│ customize the │
│ installation. │
│ --help Show this message │
│ and exit. │
╰────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────╮
│ get-state Get the state of ID │
│ 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 │
╰────────────────────────────────────────────────────╯
```
Options:
--install-completion [bash|zsh|fish|powershell|pwsh]
Install completion for the specified shell.
--show-completion [bash|zsh|fish|powershell|pwsh]
Show completion for the specified shell, to
copy it or customize the installation.
--help Show this message and exit.
Commands:
get-state Get the state of ID
set-brightness Set brigthness of ID to BRIGHTNESS
set-color Set the color of ID to COLOR where COLOR is either a...
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"