mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-06-07 12:10:32 +01:00
no need to create list here
This commit is contained in:
parent
ab0679174b
commit
ab71414d27
@ -13,7 +13,7 @@ from . import settings
|
|||||||
from .alias import AliasGroup
|
from .alias import AliasGroup
|
||||||
|
|
||||||
app = typer.Typer(cls=AliasGroup)
|
app = typer.Typer(cls=AliasGroup)
|
||||||
for sub_typer in [
|
for sub_typer in (
|
||||||
'filter',
|
'filter',
|
||||||
'group',
|
'group',
|
||||||
'hotkey',
|
'hotkey',
|
||||||
@ -29,7 +29,7 @@ for sub_typer in [
|
|||||||
'stream',
|
'stream',
|
||||||
'studiomode',
|
'studiomode',
|
||||||
'virtualcam',
|
'virtualcam',
|
||||||
]:
|
):
|
||||||
module = importlib.import_module(f'.{sub_typer}', package=__package__)
|
module = importlib.import_module(f'.{sub_typer}', package=__package__)
|
||||||
app.add_typer(module.app, name=sub_typer)
|
app.add_typer(module.app, name=sub_typer)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user