mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[GH-ISSUE #202] Add End User License Agreements (EULA) CLI support #65
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#65
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 26, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/202
Overview
Add CLI support for managing End User License Agreements (EULA) so users can create, update, delete, and inspect custom EULAs and their territories.
Docs (API)
Scope (Endpoints)
GET /v1/apps/{id}/endUserLicenseAgreementGET /v1/endUserLicenseAgreements/{id}POST /v1/endUserLicenseAgreementsPATCH /v1/endUserLicenseAgreements/{id}DELETE /v1/endUserLicenseAgreements/{id}GET /v1/endUserLicenseAgreements/{id}/territoriesGET /v1/endUserLicenseAgreements/{id}/relationships/territoriesProposed CLI
Top‑level group:
asc eula <subcommand> [flags]Subcommands:
eula get --app APP_ID(get EULA for an app)eula get --id EULA_ID(get EULA by id)eula create --app APP_ID --text ./eula.txt --territory "USA,GBR"eula update --id EULA_ID --text ./eula.txt [--territory ...]eula delete --id EULA_ID --confirmeula territories --id EULA_IDFlags
Common:
--output json|table|markdown--prettyCreate/update:
--textcan accept file path or inline text (document behavior)--territorycomma‑separated territory codesDelete:
--confirmrequiredOutput
Acceptance Criteria
asc eula --helpavailableTests
Manual Test Plan (using real apps)
asc apps --paginate→APP_IDasc eula create --app APP_ID --text ./eula.txt --territory "USA,GBR"asc eula get --app APP_IDasc eula get --id EULA_IDasc eula update --id EULA_ID --text ./eula-updated.txtasc eula territories --id EULA_IDasc eula delete --id EULA_ID --confirmImplementation Notes
cmd/eula.goandinternal/asc/client_eula.gocmd/root.go