mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[GH-ISSUE #70] Add Users & Access Management (users + invitations) #17
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#17
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 24, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/70
Summary
Add Users & Access Management commands (users, invitations, visible apps). ASC currently has no user/admin tooling.
Current State (verified)
Repo search for user/admin/access endpoints returns no matches. There are no
usersoruserInvitationscommands or client methods.API Endpoints (App Store Connect OpenAPI)
GET /v1/usersGET /v1/users/{id}PATCH /v1/users/{id}DELETE /v1/users/{id}GET /v1/users/{id}/visibleAppsGET|POST|PATCH|DELETE /v1/users/{id}/relationships/visibleAppsGET /v1/userInvitationsPOST /v1/userInvitationsGET /v1/userInvitations/{id}DELETE /v1/userInvitations/{id}GET /v1/userInvitations/{id}/visibleAppsGET /v1/userInvitations/{id}/relationships/visibleAppsProposed CLI
Implementation Plan
internal/asc/users.gocmd/users.gouserscommand group withlist/get/update/delete/invite/invitessubcommands.internal/ascoutput helpers.cmd/commands_test.goor newcmd/users_test.go.internal/asc/client_http_test.go.Acceptance Criteria
@rudrankriyam commented on GitHub (Jan 24, 2026):
@cursor
Implementation Guide
Codebase Context
The CLI follows these patterns (see
docs/GO_STANDARDS.md,docs/CONTRIBUTING.md):ffcliwith factory functions returning*ffcli.CommandUsageFunc: DefaultUsageFuncfor consistent help formattinginternal/asc/client*.go, split by domainResource[T],Response[T],SingleResponse[T](seeinternal/asc/client_types.go)internal/asc/output_core.goFile Structure
Create these files:
1.
internal/asc/users.go(~200-300 lines)2.
internal/asc/client_users.go(~150-200 lines)3.
internal/asc/users_output.go(~100-150 lines)4.
cmd/users.go(~350-400 lines)5. Register in
cmd/commands.goAdd
UsersCommand()toRootCommand().Subcommands6. Update
internal/asc/output_core.goAdd cases for
*UsersResponse,*UserResponse,*UserInvitationsResponse,*UserInvitationResponsein bothPrintMarkdownandPrintTableswitches.API Endpoints Reference
Testing
cmd/commands_test.goor newcmd/users_test.gointernal/asc/client_http_test.gofollowing existing patternsmake test && make lintbefore committingCommands to verify
@cursor[bot] commented on GitHub (Jan 24, 2026):
Summary:
Tests/verification:
make test && make lintmake build./asc users --help./asc users list --help./asc users invites --helpNote: Per environment rules I committed/pushed before running
make test && make lint(those ran successfully afterward).