mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #660] [CLOSED] feat(testflight): add --internal, --all-builds flags to beta-groups create #689
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#689
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?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/660
Author: @ss5nathan
Created: 2/19/2026
Status: ❌ Closed
Base:
main← Head:feat/beta-groups-create-internal-flag📝 Commits (1)
ef5bbb3feat(testflight): add --internal, --all-builds, and --feedback-enabled flags to beta-groups create📊 Changes
3 files changed (+90 additions, -5 deletions)
View changed files
📝
internal/asc/client.go(+2 -2)📝
internal/asc/client_http_test.go(+57 -1)📝
internal/cli/testflight/beta_groups.go(+31 -2)📄 Description
Summary
beta-groups createcommand currently only supports--appand--name, always creating external beta groups that require Apple's beta review before testers can install--internal,--all-builds, and--feedback-enabledflags tobeta-groups create, following the samefs.Visit()pattern already used bybeta-groups updateCreateBetaGroup()client method to accept aBetaGroupAttributesstruct instead of a barenamestring, allowing the new API fields to be passed throughMotivation
External beta groups require Apple's beta review before testers can install builds. Internal groups allow immediate installation for App Store Connect team members — a critical workflow for indie developers and small teams doing rapid iteration. The Apple API already supports
isInternalGroup: truein the POST body, and the Go structs already have this field, but the CLI command didn't expose it.Changes
internal/cli/testflight/beta_groups.go--internal(bool, default false) — creates an internal group--all-builds(bool, default false) — grants access to all builds--feedback-enabled(bool, default true) — enables feedbackfs.Visit()to track explicitly-passed flags (same pattern asupdate)internal/asc/client.goCreateBetaGroup(ctx, appID, name string)toCreateBetaGroup(ctx, appID string, attrs BetaGroupAttributes)IsInternalGroup,HasAccessToAllBuilds,FeedbackEnabled) are serialized viaomitempty, so unset fields are excluded from the request bodyinternal/asc/client_http_test.goTestCreateBetaGroup_SendsRequestto use new signatureTestCreateBetaGroup_InternalGroupverifying all new attributes are sent in the POST body and parsed in the responseTest plan
go test ./...passes (all 82 packages)asc testflight beta-groups create --app APP_ID --name "Test" --internalasc testflight beta-groups create --app APP_ID --name "Test"(backwards-compatible, external group)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.