swap out pydantic-settings for dotenv (speedup import time)

add short names for root options.
This commit is contained in:
2025-06-03 12:39:39 +01:00
parent 7b94ca2d7d
commit 8a04303af7
6 changed files with 82 additions and 184 deletions

View File

@@ -42,7 +42,13 @@ The CLI should now be discoverable as `obsws-cli`
#### Flags
Pass `--host`, `--port` and `--password` as flags to the root command, for example:
- --host/-H: Websocket host
- --port/-P Websocket port
- --password/-p: Websocket password
- --timeout/-T: Websocket timeout
- --version/-v: Print the obsws-cli version
Pass `--host`, `--port` and `--password` as flags on the root command, for example:
```console
obsws-cli --host=localhost --port=4455 --password=<websocket password> --help
@@ -64,12 +70,6 @@ Flags can be used to override environment variables.
## Root Typer
- --version/-v: Get the obsws-cli version:
```console
obsws-cli --version
```
- obs-version: Get the OBS Client and WebSocket versions.
```console