Skip to content

feat(pipelines): ✨ implement azdo pipelines folder delete command - #325

Merged
tmeckel merged 3 commits into
masterfrom
tmeckel/issue264
Aug 13, 2026
Merged

feat(pipelines): ✨ implement azdo pipelines folder delete command#325
tmeckel merged 3 commits into
masterfrom
tmeckel/issue264

Conversation

@tmeckel

@tmeckel tmeckel commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Implements the hardened spec of #264: delete a build definition folder (and all its definitions and builds) at PATH under PROJECT, mirroring az pipelines folder delete.

Changes

  • internal/cmd/pipelines/folder/delete/delete.go: new azdo pipelines folder delete [ORG:]PROJECT/PATH command with aliases d/del/rm, required --yes (or interactive confirmation prompt, cancel returns util.ErrCancel), and plain output printing Deleted folder .
  • internal/cmd/pipelines/folder/folder.go: wire delete into the folder command group.
  • Tests: command tests (struct shape, missing-arg validation, success with --yes across implicit/explicit org and nested paths, interactive confirmation, cancellation without SDK call, non-interactive guard, API error, default-org resolution, client error).
  • Docs: regenerated CLI documentation (docs/azdo_pipelines_folder_delete.md).

Verification

  • go test ./internal/cmd/pipelines/folder/... — 37 passed
  • golangci-lint run on new packages — 0 issues
  • make docs — docs regenerated

Closes #264

@tmeckel
tmeckel merged commit 5447205 into master Aug 13, 2026
4 of 5 checks passed
@tmeckel
tmeckel deleted the tmeckel/issue264 branch August 13, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Implement azdo pipelines folder delete command

1 participant