Skip to content

feat: ✨Implement azdo pipelines queue list command#303

Merged
tmeckel merged 7 commits into
masterfrom
tmeckel/issue249
Jun 16, 2026
Merged

feat: ✨Implement azdo pipelines queue list command#303
tmeckel merged 7 commits into
masterfrom
tmeckel/issue249

Conversation

@tmeckel

@tmeckel tmeckel commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Closes #249

tmeckel added 7 commits June 16, 2026 11:45
Introduce map-based EnumLookup[T] with Keys, GetValue, and GetValuePtr methods. Uses maps/slices for sorted keys and adds trimming/lower-casing plus pointer variants for improved enum handling.
- Extract common registration and validation logic into shared helpers (`registerEnumFlag`, `validateEnumValue`). Introduce `nullableEnumValue` and `nullableEnumMultiValue` types so callers can now use optional (enum) flags via the new `NilStringEnumFlag` and `NilStringSliceEnumFlag` functions, matching the existing `Nil*` pattern for strings and bools.
- Add thorough unit tests covering the new helpers plus the pre-existing nil-flag and enum-flag functions.
…t filters

Switch filter options from slices to *string pointers (branch, status, result, reason, requestedFor, queryOrder). Adopt util.NilStringFlag and NilStringEnumFlag helpers for flag registration. Replace the old allBuild* slices with typed EnumLookup maps and update lookup/assignment logic accordingly. Move ios.StopProgressIndicator calls under a defer and clean up error paths. Add ParseFlags tests for valid/invalid enum values and drop the now-redundant runtime invalid-filter tests.
@tmeckel tmeckel merged commit 32e33ad into master Jun 16, 2026
1 check passed
@tmeckel tmeckel deleted the tmeckel/issue249 branch June 16, 2026 13:02
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 queue list command

1 participant