This commit is contained in:
parent
e556d8ecf1
commit
700ece0bad
43
README.md
43
README.md
@ -1,30 +1,21 @@
|
||||
# huecli
|
||||
|
||||
```console
|
||||
Usage: python -m 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 │
|
||||
╰────────────────────────────────────────────────────╯
|
||||
```
|
||||
$ huecli --help
|
||||
Usage: huecli [OPTIONS] COMMAND [ARGS]...
|
||||
|
||||
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
|
||||
```
|
||||
|
@ -120,7 +120,7 @@ def rgb_to_xy(red, green, blue) -> XYColor:
|
||||
return XYColor(x, y)
|
||||
|
||||
|
||||
app = typer.Typer()
|
||||
app = typer.Typer(rich_markup_mode=None)
|
||||
|
||||
|
||||
@app.command()
|
||||
|
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "huecli"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
description = "Set Philips Hue lights using MQTT"
|
||||
authors = ["Torjus Håkestad <torjus@uio.no>"]
|
||||
license = "MIT"
|
||||
|
Loading…
Reference in New Issue
Block a user