Skip to content

feat(pipelines): ✨ implement azdo pipelines folder update command - #326

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

feat(pipelines): ✨ implement azdo pipelines folder update command#326
tmeckel merged 3 commits into
masterfrom
tmeckel/issue266

Conversation

@tmeckel

@tmeckel tmeckel commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

Implements azdo pipelines folder update [ORG:]PROJECT/PATH, mirroring az pipelines folder update. Renames a build definition folder or changes its description.

Changes

  • New command update under pipelines folder (alias u), cobra.ExactArgs(1)
  • Flags: --new-path, --new-description — at least one required (util.FlagErrorf on mutex violation)
  • Behavior: fetch folder via GetFolders (exact path, unique match enforced) → mutate → UpdateFolder (full replace POST, original path used as target)
  • Plain output: Updated folder <path> (new path when renamed)
  • JSON output: raw *build.Folder from UpdateFolder
  • Unit tests: command structure, rename-only, description-only, both, mutex violation, not found, ambiguous path, API errors, JSON export, missing args
  • Regenerated docs/

Fixes #266

@tmeckel
tmeckel merged commit c27e725 into master Aug 13, 2026
4 of 5 checks passed
@tmeckel
tmeckel deleted the tmeckel/issue266 branch August 13, 2026 19:16
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 update command

1 participant