From 168e6557b473c9a11c89baa1c28ae0ed9b5fd986 Mon Sep 17 00:00:00 2001 From: Nathanial Acosta Date: Thu, 16 Jul 2026 13:43:46 -0400 Subject: [PATCH] fix: consolidate agent project commands under Flow Agent group Moves all agent project descriptor groups from the mixed agent-projects/ flow-agent split to flow-agent exclusively, and removes the now-unused agent-projects cobra group from commands.go. Eliminates the empty section that appeared in help output depending on which verb was used. Co-Authored-By: Claude Fable 5 --- internal/cli/commands.go | 1 - internal/handlers/descriptors/agent_projects.yaml | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/internal/cli/commands.go b/internal/cli/commands.go index f444377..44465eb 100644 --- a/internal/cli/commands.go +++ b/internal/cli/commands.go @@ -87,7 +87,6 @@ func makeChildCommand(root RootCommand, desc map[string]cmdutils.Descriptor) *co cmd.AddGroup( &cobra.Group{ID: "admin-essentials", Title: "Admin Essentials Commands:"}, &cobra.Group{ID: "automation-studio", Title: "Automation Studio Commands:"}, - &cobra.Group{ID: "agent-projects", Title: "Agent Project Commands:"}, &cobra.Group{ID: "configuration-manager", Title: "Configuration Manager Commands:"}, &cobra.Group{ID: "operations-manager", Title: "Operations Manager Commands:"}, &cobra.Group{ID: "lifecycle-manager", Title: "Lifecycle Manager Commands:"}, diff --git a/internal/handlers/descriptors/agent_projects.yaml b/internal/handlers/descriptors/agent_projects.yaml index 0a4815f..67d3245 100644 --- a/internal/handlers/descriptors/agent_projects.yaml +++ b/internal/handlers/descriptors/agent_projects.yaml @@ -35,7 +35,7 @@ describe: create: use: agent-project - group: agent-projects + group: flow-agent description: | Create a new agent project. @@ -54,7 +54,7 @@ create: delete: use: agent-project - group: agent-projects + group: flow-agent description: | Delete an agent project. @@ -69,7 +69,7 @@ delete: copy: use: agent-project --from --to - group: agent-projects + group: flow-agent description: | Copy an agent project from one server to another. @@ -102,7 +102,7 @@ copy: clear: use: agent-projects - group: agent-projects + group: flow-agent description: | Delete all configured agent projects.