mirror of
https://github.com/onyx-and-iris/simple-recorder.git
synced 2025-06-27 09:50:23 +01:00
add more theme options
patch bump
This commit is contained in:
parent
3c837f337e
commit
d2486be29a
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "simple-recorder"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
description = "A simple OBS recorder"
|
||||
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
||||
dependencies = [
|
||||
|
@ -78,7 +78,15 @@ class Stop(Command):
|
||||
|
||||
def theme_parser(value: str) -> str:
|
||||
"""Parse the theme argument."""
|
||||
themes = ["Light Purple", "Neutral Blue", "Reds", "Sandy Beach"]
|
||||
themes = [
|
||||
"Light Purple",
|
||||
"Neutral Blue",
|
||||
"Reds",
|
||||
"Sandy Beach",
|
||||
"Kayak",
|
||||
"Light Blue 2",
|
||||
"Dark Teal1",
|
||||
]
|
||||
if value not in themes:
|
||||
raise ClypiException(
|
||||
f"Invalid theme: {value}. Available themes: {', '.join(themes)}"
|
||||
@ -148,7 +156,7 @@ class SimpleRecorder(Command):
|
||||
|
||||
|
||||
def run():
|
||||
"""Run the CLI application."""
|
||||
"""Run the application."""
|
||||
SimpleRecorder.parse().start()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user