Skip to content

azsdk_1.0.0-dev.20250610.4

Pre-release
Pre-release

Choose a tag to compare

@azure-sdk azure-sdk released this 10 Jun 19:49
1121e6a
Supporting easy command hierarchy for individual CLI tools (#10814)

* Add shared subcommands as CommandHierarchy member to Azure.Sdk.Tools.Cli.Contract.MCPTool
* Honor shared CommandHierarchy concept in AzurePIpelinesTool and EngCleanupTool
* Split AzurePipelinesTool into individual commands PipelineDetailsTool and AnalyzePipelineFailureTool
* Refactor CleanupTool to honor a command hierarchy instead of defining its own parent command
* Populate shared subcommands, add as children to rootcommand, and add any tools that exist on said hierarchy as children to THOSE shared subcommands in CommandFactory. This is all emplaced in new function PopulateToolHierarchy
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>