This commit is contained in:
parent
e556d8ecf1
commit
700ece0bad
41
README.md
41
README.md
@ -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 │
|
|
||||||
╰────────────────────────────────────────────────────╯
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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()
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user