mirror of
https://github.com/acedanger/shell.git
synced 2026-03-24 18:01:49 -07:00
feat: Add section separator in list output when showing updates
This commit is contained in:
@@ -285,6 +285,8 @@ def list_containers(projects, show_updates_only=False):
|
||||
# If not hiding, OR if update, add to table
|
||||
if not show_updates_only or project_has_update:
|
||||
if project_rows:
|
||||
if found_any:
|
||||
table.add_section()
|
||||
found_any = True
|
||||
for row in project_rows:
|
||||
table.add_row(*row)
|
||||
|
||||
Reference in New Issue
Block a user