mirror of
https://github.com/onyx-and-iris/simple-recorder.git
synced 2025-06-27 09:50:23 +01:00
register pause + resume as subcommands on the CLI
This commit is contained in:
parent
ef68915f6a
commit
3eb37295c2
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user