From b6c0e9deceefb7b07a8e4333ae641143173b1e10 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 26 Jun 2025 06:16:40 +0100 Subject: [PATCH] update README --- README.md | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index fda29bf..5e32ac6 100644 --- a/README.md +++ b/README.md @@ -46,21 +46,26 @@ Or load them from your environment: OBS_HOST=localhost OBS_PORT=4455 OBS_PASSWORD= +OBS_THEME=Reds ``` ## Use -Without passing a subcommand (start/stop) a GUI will be launched, otherwise a CLI will be launched. - ### GUI +To launch the GUI run the root command without any subcommands: + +```console +simple-recorder +``` + ![simple-recorder](./img/simple-recorder.png) Just enter the filename and click *Start Recording*. #### Themes -Load the GUI with different themes: +Passing flags is fine, however, for example to set the theme: ```console simple-recorder --theme="Light Purple" @@ -73,25 +78,28 @@ Available themes: Light Purple, Neutral Blue, Reds, Sandy Beach, Kayak, Light Bl ```shell Usage: simple-recorder [OPTIONS] COMMAND -┏━ Subcommands ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -┃ start Start recording ┃ -┃ stop Stop recording ┃ -┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +┏━ Subcommands ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ start Start recording ┃ +┃ stop Stop recording ┃ +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ -┏━ Options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -┃ --host ┃ -┃ --port ┃ -┃ --password ┃ -┃ --theme ┃ -┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +┏━ Options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ --host OBS WebSocket host ┃ +┃ --port OBS WebSocket port ┃ +┃ --password OBS WebSocket password ┃ +┃ --theme OBS WebSocket theme ┃ +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ ``` +For example: + ```console simple-recorder start "File Name" simple-recorder stop ``` -If no filename is passed to start then you will be prompted for one. A default_name will be used if none is supplied to the prompt. +- If no filename is passed to start then you will be prompted for one. + - A default_name will be used if none is supplied to the prompt. [obs-studio]: https://obsproject.com/ \ No newline at end of file