Skip to content

Conversation

@tmeckel
Copy link
Owner

@tmeckel tmeckel commented Dec 18, 2025

Closes: #126

Adds a new `update` subcommand to the variable group CLI that allows users to:
- Rename variables (case-insensitive)
- Update variable values
- Toggle secret/read-only flags
- Prompt for secret values securely
- Clear non-secret variable values
- Apply bulk updates via JSON input

The command supports both interactive and non-interactive workflows with confirmation prompts for destructive operations. JSON output is available for scripting scenarios, with secret values redacted.
Add extensive test coverage for the variable update command in variable groups, including tests for:
- Value updates with flags and JSON output
- Secret value handling with prompt redaction
- Clear value functionality with confirmation
- JSON payload validation and mutual exclusivity
- Error cases (collisions, missing variables, invalid operations)
- Key Vault and secret variable constraints
- Prompt behavior and cancellation scenarios
Add comprehensive documentation for the `azdo pipelines variable-group variable update` command including usage examples, option details, and JSON field references. Update help reference and command index to include the new functionality.
@tmeckel tmeckel merged commit 595690f into master Dec 18, 2025
1 check passed
@tmeckel tmeckel deleted the tmeckel/issue126 branch December 18, 2025 21:17
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 update command

2 participants