mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[GH-ISSUE #51] Add build-localizations commands (via App Store Version Localizations) #14
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#14
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/51
Summary
Add a
build-localizationscommand group that manages localized release notes by resolving a build to its App Store Version and then using App Store Version Localizations endpoints.API endpoints
GET /v1/builds/{id}(resolve build)GET /v1/appStoreVersions/{id}/appStoreVersionLocalizations(list) — https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionlocalizationGET /v1/appStoreVersionLocalizations/{id}(read) — https://developer.apple.com/documentation/appstoreconnectapi/read_app_store_version_localization_informationPOST /v1/appStoreVersionLocalizations(create) — https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_store_version_localizationPATCH /v1/appStoreVersionLocalizations/{id}(update) — https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_store_version_localizationDELETE /v1/appStoreVersionLocalizations/{id}(delete) — https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_store_version_localizationCLI
asc build-localizations list --build "BUILD_ID" [--locale ...] [--limit ...] [--next ...] [--paginate]asc build-localizations get --id "LOCALIZATION_ID"asc build-localizations create --build "BUILD_ID" --locale "en-US" [--whats-new ...]asc build-localizations update --id "LOCALIZATION_ID" [--whats-new ...]asc build-localizations delete --id "LOCALIZATION_ID" --confirmOutput
--output table|markdown;--prettyfor JSON.Tests
@rudrankriyam commented on GitHub (Jan 23, 2026):
@cursor Please implement this issue.
Implementation Guide
This is a more complex feature that manages App Store Version Localizations through builds.
1. Create
cmd/build_localizations.go2. Add Client Methods in
internal/asc/client.go3. Build-to-Version Resolution
The key complexity is resolving a build to its App Store Version:
4. CLI Commands
list:
asc build-localizations list --build BUILD_IDget:
asc build-localizations get --id LOCALIZATION_IDcreate:
asc build-localizations create --build BUILD_ID --locale en-US --whats-new "Bug fixes"update:
asc build-localizations update --id LOCALIZATION_ID --whats-new "New features"delete:
asc build-localizations delete --id LOCALIZATION_ID --confirm5. Flags
For
list:--build(required)--locale(optional filter)--limit,--next,--paginate--output,--prettyFor
create:--build(required)--locale(required, e.g., en-US, de-DE, ja)--whats-new(optional, release notes)For
update:--id(required)--whats-new(optional)For
delete:--id(required)--confirm(required)6. Testing
Unit tests in
cmd/commands_test.go:Live API test:
7. Error Handling
Handle case where build has no App Store version:
8. Code Standards
*stringfor whatsNew)strings.TrimSpace()on all inputsmake format && make lint && make testbefore committing@cursor[bot] commented on GitHub (Jan 23, 2026):
Summary:
Tests:
make formatmake lintmake test@rudrankriyam commented on GitHub (Jan 23, 2026):
Implemented in PR #61 and PR #64 - build-localizations list/get/create/update/delete commands.