mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2026-04-18 23:13:38 +00:00
enable no_args_is_help for all typers subclassing AliasGroup
This includes the root typer patch bump
This commit is contained in:
@@ -9,6 +9,7 @@ from pydantic import ConfigDict
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
from . import group, input, record, scene, scenecollection, sceneitem, stream
|
||||
from .alias import AliasGroup
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
@@ -29,7 +30,7 @@ class Settings(BaseSettings):
|
||||
TIMEOUT: int = 5 # Timeout for requests in seconds
|
||||
|
||||
|
||||
app = typer.Typer()
|
||||
app = typer.Typer(cls=AliasGroup)
|
||||
app.add_typer(scene.app, name='scene')
|
||||
app.add_typer(sceneitem.app, name='scene-item')
|
||||
app.add_typer(group.app, name='group')
|
||||
|
||||
Reference in New Issue
Block a user