From 3eb37295c24b6f6308346f9aa84958f746cfe572 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Fri, 27 Jun 2025 08:17:16 +0100 Subject: [PATCH] register pause + resume as subcommands on the CLI --- src/simple_recorder/cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/simple_recorder/cli.py b/src/simple_recorder/cli.py index 2702e8a..094eddf 100644 --- a/src/simple_recorder/cli.py +++ b/src/simple_recorder/cli.py @@ -5,6 +5,8 @@ from typing_extensions import override from .errors import SimpleRecorderError from .gui import SimpleRecorderWindow +from .pause import Pause +from .resume import Resume from .start import Start from .stop import Stop @@ -35,7 +37,7 @@ def theme_parser(value: str) -> str: class SimpleRecorder(Command): - subcommand: Start | Stop | None = None + subcommand: Start | Stop | Pause | Resume | None = None host: str = arg(default="localhost", env="OBS_HOST", help="OBS WebSocket host") port: int = arg(default=4455, env="OBS_PORT", help="OBS WebSocket port") password: str | None = arg(