From 671dff818aff8e7732ab2d10c7ec79a9c0a431a4 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Fri, 13 Mar 2026 14:57:11 -0400 Subject: [PATCH] ui: Ensure global actions are visible in manage menu even if no sites exist --- voxvera/cli.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/voxvera/cli.py b/voxvera/cli.py index ee613d4..bf96a3c 100644 --- a/voxvera/cli.py +++ b/voxvera/cli.py @@ -675,9 +675,6 @@ def manage_servers(): while True: servers = get_servers() - if not servers: - console.print("[red]No servers found. Use 'voxvera build' or 'voxvera quickstart' to create one.[/red]") - return choices = [] for s in servers: @@ -696,9 +693,10 @@ def manage_servers(): choices.append(Choice(s, label)) choices.insert(0, Choice("create_new", "--- Create New Site/Flyer ---")) - choices.append(Choice("start_all", "--- Start All Sites ---")) - choices.append(Choice("stop_all", "--- Stop All Sites ---")) - choices.append(Choice("export_all", "--- Export All Sites ---")) + if servers: + choices.append(Choice("start_all", "--- Start All Sites ---")) + choices.append(Choice("stop_all", "--- Stop All Sites ---")) + choices.append(Choice("export_all", "--- Export All Sites ---")) choices.append(Choice("import_multiple", "--- Import Multiple Sites ---")) choices.append(Choice(None, "Exit"))