Skip to content

Conversation

@tmeckel
Copy link
Owner

@tmeckel tmeckel commented Dec 18, 2025

This Pull Request introduces the ability to remove variables from Azure DevOps pipeline variable groups via the CLI, enhancing the tool's variable management capabilities.

New Features

  • Add azdo pipelines variable-group variable delete command
    • Remove individual variables from existing variable groups
    • Support for bulk removal using --variable-name flag
    • Wildcard (*) support to remove all variables from a group
    • Confirmation prompts for destructive operations (bypass with --yes)

Documentation Updates

  • Expand CLI reference documentation for variable removal capabilities
    • Add usage examples for single and bulk variable removal
    • Document wildcard behavior and safety mechanisms
    • Include JSON output format specifications

Closes: #127

Introduce a new command to delete variables from Azure DevOps variable groups with case-insensitive name matching. The implementation includes:

- Interactive confirmation prompts with --yes override for automation
- Progress indicators during API operations
- TTY-aware output suppression
- Comprehensive error handling for missing resources
- Project/organization target resolution
Document the new `variable delete` subcommand for variable group management, including syntax, parameter definitions, and practical usage examples. Update navigation references to ensure discoverability of the removal operation within the existing variable management command structure.
@tmeckel tmeckel merged commit 15571a4 into master Dec 18, 2025
1 check passed
@tmeckel tmeckel deleted the tmeckel/issue127 branch December 18, 2025 17:57
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 variable-group variable delete command

2 participants