You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce the azdo pipelines agent subgroup under the pipelines umbrella (#116). This subgroup manages Azure DevOps build and deployment agents.
Org-scoped, not project-scoped. Agents live inside agent pools, which are org-scoped. The agent subgroup therefore takes a positionalORGANIZATION (or falls back to the default), identical to the pool subgroup (#239) and the pool show sibling (#244).
CLI Structure
azdo pipelines agent
├── list (sub of this issue; spec #248)
└── show (sub of this issue; spec #247)
Scope
Mirrors az pipelines agent. All commands reuse the vendored taskagent.Client:
Introduce the
azdo pipelines agentsubgroup under thepipelinesumbrella (#116). This subgroup manages Azure DevOps build and deployment agents.CLI Structure
Scope
Mirrors
az pipelines agent. All commands reuse the vendoredtaskagent.Client:taskagent.Client.GetAgents— list agents in a pool (spec feat: Implementazdo pipelines agent listcommand #248)taskagent.Client.GetAgent— show a single agent by pool+id (spec feat: Implementazdo pipelines agent showcommand #247)Both mocks are already generated at
internal/mocks/taskagent_client_mock.go:336-345(GetAgent) and:531-540(GetAgents). No mock regeneration needed.Implementation Outline
internal/cmd/pipelines/agent/agent.go(umbrella) withUse: "agent",Aliases: []string{"agents"}.internal/cmd/pipelines/pipelines.goaftervariablegroup(preserving order of registration so help text remains stable).list(feat: Implementazdo pipelines agent listcommand #248) andshow(feat: Implementazdo pipelines agent showcommand #247) — each implemented in their respective sub-issues.References
internal/mocks/taskagent_client_mock.go— mocks forGetAgentandGetAgents(already generated).internal/azdo/factory.go:133-139—ClientFactory().TaskAgent(...)accessor.pipelines/pool(Introduce azdo pipelines pool command group #239) andpipelines/queue(Introduce azdo pipelines queue command group #240) use the same client.Sub-issues
azdo pipelines agent listcommand #248 —feat: Implement azdo pipelines agent listazdo pipelines agent showcommand #247 —feat: Implement azdo pipelines agent show