mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #742] [MERGED] Add localizations update subcommand for direct field updates #754
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#754
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/742
Author: @omar16100
Created: 2/23/2026
Status: ✅ Merged
Merged: 2/23/2026
Merged by: @rudrankriyam
Base:
main← Head:feedback/localizations-update📝 Commits (1)
cc7acdafeat(localizations): add update subcommand for direct field updates📊 Changes
3 files changed (+408 additions, -0 deletions)
View changed files
➕
internal/cli/cmdtest/localizations_update_test.go(+175 -0)📝
internal/cli/localizations/localizations.go(+1 -0)➕
internal/cli/localizations/update.go(+232 -0)📄 Description
Summary
asc localizations updatefor directly updating localization fields without preparing JSON or .strings files--type app-infoand--type versionlocalization types--locale, then PATCHes only the specified fieldsUsage
Supported flags
App-info type:
--name,--subtitle,--privacy-policy-url,--privacy-choices-url,--privacy-policy-textVersion type:
--description,--keywords,--whats-new,--promotional-text,--support-url,--marketing-urlFiles changed
internal/cli/localizations/update.go—LocalizationsUpdateCommand()(~232 lines)internal/cli/localizations/localizations.go— registers new subcommand (+1 line)internal/cli/cmdtest/localizations_update_test.go— 5 tests including HTTP mock integrationTest plan
TestLocalizationsUpdateRequiresLocale— validates --locale is requiredTestLocalizationsUpdateRequiresAtLeastOneField— validates at least one field flagTestLocalizationsUpdateAppInfoRequiresApp— validates --app for app-info typeTestLocalizationsUpdateVersionRequiresVersion— validates --version/--version-id for version typeTestLocalizationsUpdateAppInfoSubtitle— full HTTP mock integration testASC_BYPASS_KEYCHAIN=1 make test— all tests pass🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.