[PR #752] [CLOSED] Command flag consistency #765

Closed
opened 2026-02-26 22:32:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/752
Author: @cursor[bot]
Created: 2/24/2026
Status: Closed

Base: fix/testflight-agent-uxHead: cursor/command-flag-consistency-3ebe


📝 Commits (1)

  • c50d5f3 Align builds list version semantics and app lookup

📊 Changes

4 files changed (+76 additions, -14 deletions)

View changed files

📝 internal/cli/builds/builds_commands.go (+21 -11)
internal/cli/builds/builds_commands_test.go (+41 -0)
📝 internal/cli/shared/app_lookup.go (+3 -3)
📝 internal/cli/shared/app_lookup_test.go (+11 -0)

📄 Description

Summary

  • Standardized the --version flag across builds list and builds latest to filter by marketing version (CFBundleShortVersionString), improving consistency for users and AI agents.
  • Introduced a new --build-number flag for builds list to filter by CFBundleVersion.
  • Refactored ResolveAppIDWithLookup to accept an already-resolved app ID, eliminating a redundant internal ResolveAppID call.

Validation

  • make format
  • make lint
  • make test


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/752 **Author:** [@cursor[bot]](https://github.com/apps/cursor) **Created:** 2/24/2026 **Status:** ❌ Closed **Base:** `fix/testflight-agent-ux` ← **Head:** `cursor/command-flag-consistency-3ebe` --- ### 📝 Commits (1) - [`c50d5f3`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/c50d5f35a5bb9a46e1e8fa34df134840cc8f8405) Align builds list version semantics and app lookup ### 📊 Changes **4 files changed** (+76 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `internal/cli/builds/builds_commands.go` (+21 -11) ➕ `internal/cli/builds/builds_commands_test.go` (+41 -0) 📝 `internal/cli/shared/app_lookup.go` (+3 -3) 📝 `internal/cli/shared/app_lookup_test.go` (+11 -0) </details> ### 📄 Description ## Summary - Standardized the `--version` flag across `builds list` and `builds latest` to filter by marketing version (CFBundleShortVersionString), improving consistency for users and AI agents. - Introduced a new `--build-number` flag for `builds list` to filter by CFBundleVersion. - Refactored `ResolveAppIDWithLookup` to accept an already-resolved app ID, eliminating a redundant internal `ResolveAppID` call. ## Validation - [x] `make format` - [x] `make lint` - [x] `make test` --- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:32:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#765
No description provided.