return 0 and write to stdout if empty list

This commit is contained in:
onyx-and-iris 2025-05-26 20:54:06 +01:00
parent 9fa61351d0
commit b5364bfedc

View File

@ -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))