Skip to content

Improve the command categories#3523

Merged
Sayt-0 merged 2 commits into
docker:mainfrom
dgageot:better-help
Jul 8, 2026
Merged

Improve the command categories#3523
Sayt-0 merged 2 commits into
docker:mainfrom
dgageot:better-help

Conversation

@dgageot

@dgageot dgageot commented Jul 8, 2026

Copy link
Copy Markdown
Member

Signed-off-by: David Gageot [email protected]

dgageot added 2 commits July 8, 2026 10:12
@dgageot
dgageot requested a review from a team as a code owner July 8, 2026 08:14

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

This PR cleanly reorganizes command categories by introducing a new diagnose group and reassigning commands to better-fitting groups. All GroupID values (core, diagnose, advanced) are properly registered via AddGroup in root.go, so no orphaned or missing group references are introduced. The group registration order (core → diagnose → advanced) produces a sensible help layout. Removing the agentcatalog/pirate example is cosmetic and introduces no functional issue.

No bugs found.

@aheritier aheritier added area/cli CLI commands, flags, output formatting kind/refactor PR refactors code without behavior change labels Jul 8, 2026
@Sayt-0
Sayt-0 merged commit 7bf30a3 into docker:main Jul 8, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli CLI commands, flags, output formatting kind/refactor PR refactors code without behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants