diff --git a/obsws_cli/input.py b/obsws_cli/input.py index fa884bf..4a5febb 100644 --- a/obsws_cli/input.py +++ b/obsws_cli/input.py @@ -48,8 +48,8 @@ def list( ] if not inputs: - err_console.print('No inputs found.') - raise typer.Exit(1) + out_console.print('No inputs found.') + return table = Table(title='Inputs', padding=(0, 2)) for column in ('Input Name', 'Kind'): diff --git a/obsws_cli/sceneitem.py b/obsws_cli/sceneitem.py index e8ed5d1..37dda36 100644 --- a/obsws_cli/sceneitem.py +++ b/obsws_cli/sceneitem.py @@ -39,8 +39,8 @@ def list( items = [item.get('sourceName') for item in resp.scene_items] if not items: - err_console.print(f"No items found in scene '{scene_name}'.") - raise typer.Exit(1) + out_console.print(f"No items found in scene '{scene_name}'.") + return table = Table(title=f'Items in Scene: {scene_name}', padding=(0, 2)) table.add_column('Item Name', justify='left', style='cyan')