diff --git a/README.md b/README.md index 32f475d..7329b85 100644 --- a/README.md +++ b/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 +``` diff --git a/huecli/__main__.py b/huecli/__main__.py index df41cff..55e4996 100644 --- a/huecli/__main__.py +++ b/huecli/__main__.py @@ -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() diff --git a/pyproject.toml b/pyproject.toml index 22e833c..2dd720b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "MIT"