mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-06-07 12:10: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:
|
||||
err_console.print(f"No groups found in scene '{scene_name}'.")
|
||||
raise typer.Exit(1)
|
||||
out_console.print(f"No groups found in scene '{scene_name}'.")
|
||||
return
|
||||
|
||||
table = Table(title=f'Groups in Scene: {scene_name}', padding=(0, 2))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user