mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-06-07 20:20:32 +01:00
return 0 and write to stdout if empty list
This commit is contained in:
parent
9fa61351d0
commit
b5364bfedc
@ -41,8 +41,8 @@ def list(
|
|||||||
]
|
]
|
||||||
|
|
||||||
if not groups:
|
if not groups:
|
||||||
err_console.print(f"No groups found in scene '{scene_name}'.")
|
out_console.print(f"No groups found in scene '{scene_name}'.")
|
||||||
raise typer.Exit(1)
|
return
|
||||||
|
|
||||||
table = Table(title=f'Groups in Scene: {scene_name}', padding=(0, 2))
|
table = Table(title=f'Groups in Scene: {scene_name}', padding=(0, 2))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user