update Environment Variable section in README

This commit is contained in:
onyx-and-iris 2026-01-25 16:19:28 +00:00
parent 3a8d4ef0f0
commit 1b8bc72097

View File

@ -62,9 +62,9 @@ Store and load environment variables from:
- `user home directory / .config / obsws-cli / obsws.env` - `user home directory / .config / obsws-cli / obsws.env`
```env ```env
OBS_HOST=localhost OBSWS_CLI_HOST=localhost
OBS_PORT=4455 OBSWS_CLI_PORT=4455
OBS_PASSWORD=<websocket password> OBSWS_CLI_PASSWORD=<websocket password>
``` ```
Flags can be used to override environment variables. Flags can be used to override environment variables.
@ -96,8 +96,8 @@ obsws-cli --style="cyan" --no-border sceneitem list
Or with environment variables: Or with environment variables:
```env ```env
OBS_STYLE=cyan OBSWS_CLI_STYLE=cyan
OBS_STYLE_NO_BORDER=true OBSWS_CLI_STYLE_NO_BORDER=true
``` ```
## Root Typer ## Root Typer