[PR #707] [MERGED] feat(localizations): add screenshot-sets delete subcommand #728

Closed
opened 2026-02-26 22:32:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/707
Author: @cameronehrlich
Created: 2/21/2026
Status: Merged
Merged: 2/21/2026
Merged by: @rudrankriyam

Base: mainHead: feat/screenshot-set-delete


📝 Commits (1)

  • 02993d5 feat(localizations): add screenshot-sets delete subcommand

📊 Changes

1 file changed (+53 additions, -0 deletions)

View changed files

📝 internal/cli/localizations/media_sets.go (+53 -0)

📄 Description

Summary

Adds asc localizations screenshot-sets delete --id ID --confirm to remove screenshot sets via the App Store Connect API.

  • Wires up the existing DeleteAppScreenshotSet client method (already in client_assets.go) as a CLI command
  • Follows the same pattern as asc screenshots delete (requires --confirm, uses AssetDeleteResult output)
  • Registered under asc localizations screenshot-sets alongside list, get, and relationships

Motivation

Empty screenshot sets for legacy device sizes (e.g. APP_IPHONE_35, APP_IPHONE_40) can accumulate across locales over time and trigger pre-submission validation errors. There was no CLI command to remove them — this fills that gap.

Test plan

  • asc localizations screenshot-sets delete --help shows usage
  • asc localizations screenshot-sets delete --id ID without --confirm prints error
  • asc localizations screenshot-sets delete --id ID --confirm successfully deletes an empty set
  • Deleting a non-existent set returns a clear API error
  • Verified against live App Store Connect (deleted 26 stale empty sets across 6 locales)

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/707 **Author:** [@cameronehrlich](https://github.com/cameronehrlich) **Created:** 2/21/2026 **Status:** ✅ Merged **Merged:** 2/21/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `feat/screenshot-set-delete` --- ### 📝 Commits (1) - [`02993d5`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/02993d58a6e4c8e57851e2a4a37565c3917cebcd) feat(localizations): add screenshot-sets delete subcommand ### 📊 Changes **1 file changed** (+53 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `internal/cli/localizations/media_sets.go` (+53 -0) </details> ### 📄 Description ## Summary Adds `asc localizations screenshot-sets delete --id ID --confirm` to remove screenshot sets via the App Store Connect API. - Wires up the existing `DeleteAppScreenshotSet` client method (already in `client_assets.go`) as a CLI command - Follows the same pattern as `asc screenshots delete` (requires `--confirm`, uses `AssetDeleteResult` output) - Registered under `asc localizations screenshot-sets` alongside `list`, `get`, and `relationships` ## Motivation Empty screenshot sets for legacy device sizes (e.g. `APP_IPHONE_35`, `APP_IPHONE_40`) can accumulate across locales over time and trigger pre-submission validation errors. There was no CLI command to remove them — this fills that gap. ## Test plan - [x] `asc localizations screenshot-sets delete --help` shows usage - [x] `asc localizations screenshot-sets delete --id ID` without `--confirm` prints error - [x] `asc localizations screenshot-sets delete --id ID --confirm` successfully deletes an empty set - [x] Deleting a non-existent set returns a clear API error - [x] Verified against live App Store Connect (deleted 26 stale empty sets across 6 locales) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:32:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#728
No description provided.