mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-05-16 06:20:23 +01:00
add status message
This commit is contained in:
parent
8976e7e29c
commit
3852ba53f5
@ -123,6 +123,11 @@ def toggle(ctx: typer.Context, scene_name: str, group_name: str):
|
|||||||
enabled=new_state,
|
enabled=new_state,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if new_state:
|
||||||
|
typer.echo(f"Group '{group_name}' is now visible.")
|
||||||
|
else:
|
||||||
|
typer.echo(f"Group '{group_name}' is now hidden.")
|
||||||
|
|
||||||
|
|
||||||
@app.command()
|
@app.command()
|
||||||
def status(ctx: typer.Context, scene_name: str, group_name: str):
|
def status(ctx: typer.Context, scene_name: str, group_name: str):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user