Skip to content

Conversation

@tmeckel
Copy link
Owner

@tmeckel tmeckel commented Nov 19, 2025

Closes: #125

Move Target parsing logic from security/group/shared to util/scope and
introduce ParseTarget and ParseTargetWithDefaultOrganization helpers.
Also replace usage of FlagErrorf with fmt.Errorf in ParseScope and
related functions to decouple parsing logic from CLI flag error helpers.
Calls to shared.ParseTarget/ParseTargetWithDefault were swapped for
util.ParseTarget and util.ParseTargetWithDefaultOrganization, and code
now references target.Target instead of target.GroupName.
Add a VariableValue struct and two helper functions:
ToVariableValues converts a raw map[string]interface{} of variable
data into a slice of VariableValue, extracting value and secret flag.
FromVariableValues converts a slice of VariableValue back into the
map form expected by the API.
Add a new subcommand to manage variables within pipeline variable groups.
Introduces "azdo pipelines variable-groups variable list" to list variables
by variable group ID or name within a project (optionally prefixed by
organization).
@tmeckel tmeckel merged commit cbcb1a3 into master Nov 19, 2025
1 check passed
@tmeckel tmeckel deleted the tmeckel/issue125 branch November 19, 2025 12:51
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 list command

1 participant