mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[GH-ISSUE #44] Add TestFlight apps list/read commands #6
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rudrankriyam on GitHub (Jan 23, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/44
Summary
Add a TestFlight namespace for apps while reusing the Apps API:
asc testflight apps listandasc testflight apps get.API endpoints
GET /v1/apps(list) — https://developer.apple.com/documentation/appstoreconnectapi/list_appsGET /v1/apps/{id}(read) — https://developer.apple.com/documentation/appstoreconnectapi/read_app_informationQuery support
filter[bundleId],filter[name],filter[sku]sort(name, -name, bundleId, -bundleId)limit,links.next,--paginateCLI
asc testflight apps list [--bundle-id ...] [--name ...] [--sku ...] [--sort ...] [--limit ...] [--next ...] [--paginate]asc testflight apps get --app "APP_ID"Output
--output table|markdown;--prettyfor JSON.Tests
internal/ascclient query testscmd/commands_test.gofor flag parsing + output@rudrankriyam commented on GitHub (Jan 23, 2026):
@cursor Please implement this issue.
Implementation Guide
1. Create
cmd/testflight.goCreate a new
testflightcommand group that wraps existing apps functionality under a TestFlight namespace:2. Add Client Method in
internal/asc/client.goAdd
GetApp(ctx, appID)method:3. Register Command
In
cmd/commands.go, addTestFlightCommand()toRootCommand.Subcommands.4. Flags Required
For
list:--bundle-id(filter)--name(filter)--sku(filter)--sort(name, -name, bundleId, -bundleId)--limit,--next,--paginate--output,--prettyFor
get:--app(required, the app ID)--output,--pretty5. Testing
Unit tests in
cmd/commands_test.go:Live API test (use FoundationLab app ID
6747745091):6. Code Standards (from Agents.md)
strings.TrimSpace()on all ID inputsffclipattern from existing commands (seeBetaGroupsCommand)contextWithTimeout(ctx)for API callsmake format && make lint && make testbefore committing7. PR Guidelines
main@cursor[bot] commented on GitHub (Jan 23, 2026):
Summary:
testflightcommand group withapps list/get, including filters/sort/pagination and JSON/table/markdown output.GetApp, plus table/markdown handling for single app responses.Tests:
make format && make lint && make testNote:
@rudrankriyam commented on GitHub (Jan 23, 2026):
Implemented in PR #60 - testflight apps list and get commands.