From 2e5fb3800a863a688b7ea4c43dc887aa73ce195a Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 21 Jun 2025 23:40:45 +0100 Subject: [PATCH] add Style section to README --- README.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bb20323..16e598e 100644 --- a/README.md +++ b/README.md @@ -613,12 +613,32 @@ obsws-cli projector open --monitor-index=1 "test_group" obsws-cli screenshot save --width=2560 --height=1440 "Scene" "C:\Users\me\Videos\screenshot.png" ``` -## Disable Colouring +## Style -If you prefer colourless output you can set the environment variable `NO_COLOR`, see [NO_COLOR][no-colour]. +By default styling is disabled but you may enable it with: + +- --style/-s: Style used in output. + - OBS_STYLE +- --no-border/-b: Disable table border styling in output. + - OBS_STYLE_NO_BORDER + +Available styles: + +- red +- magenta +- purple +- blue +- cyan +- green +- yellow +- orange +- white +- grey +- navy +- black ```console -NO_COLOR="1" obsws-cli scene list +obsws-cli --style=cyan --no-border scene list ``` ## License