[GH-ISSUE #245] Add Android-to-iOS App Mapping CLI support (create/get/update/delete) #75

Closed
opened 2026-02-26 21:33:11 +03:00 by kerem · 0 comments
Owner

Originally created by @rudrankriyam on GitHub (Jan 28, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/245

Originally assigned to: @rudrankriyam on GitHub.

Overview

Add CLI support for Android-to-iOS App Mapping: creating, retrieving, updating, and deleting mapping details between Android and iOS apps using the App Store Connect API. This enables management of cross-platform app mappings from the CLI with JSON-first output and explicit flags.

Scope

Primary resources from the OpenAPI spec:

  • androidToIosAppMappingDetails (create/get/update/delete)

Proposed CLI

Top-level group:

  • asc android-ios-mapping <subcommand> [flags]

Subcommands:

  • android-ios-mapping list|get|create|update|delete (for androidToIosAppMappingDetails)

Examples:

  • asc android-ios-mapping list --app APP_ID
  • asc android-ios-mapping get --mapping-id MAPPING_ID
  • asc android-ios-mapping create --app APP_ID --android-package-name com.example.android
  • asc android-ios-mapping update --mapping-id MAPPING_ID --android-package-name com.example.android.new
  • asc android-ios-mapping delete --mapping-id MAPPING_ID --confirm

Flag patterns

Common:

  • --app, --output, --pretty, --limit, --next, --paginate
  • --confirm for delete operations

Resource-specific examples:

  • --mapping-id
  • --android-package-name

Output

  • JSON minified by default
  • --pretty for JSON
  • --output table/markdown for list commands

Acceptance criteria

  • Commands appear in asc --help and asc android-ios-mapping --help
  • CRUD works for Android-to-iOS app mapping details
  • Pagination flags work (--paginate, --next, --limit)
  • Delete requires --confirm
  • JSON-first output matches existing conventions
  • Table and markdown output for list commands

Tests

  • Unit tests for command flag validation and error cases
  • HTTP client tests for list/get/create/update/delete
  • Output tests for table/markdown

Implementation notes

  • Add cmd/android_ios_mapping*.go and internal/asc/client_android_ios_mapping*.go
  • Add output helpers in internal/asc/output_android_ios_mapping.go
  • Register command in cmd/root.go
  • Add resource type constants in internal/asc/client_types.go
  • Follow patterns in cmd/apps.go, cmd/versions.go, and output helpers in internal/asc/output_*
Originally created by @rudrankriyam on GitHub (Jan 28, 2026). Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/245 Originally assigned to: @rudrankriyam on GitHub. # Overview Add CLI support for Android-to-iOS App Mapping: creating, retrieving, updating, and deleting mapping details between Android and iOS apps using the App Store Connect API. This enables management of cross-platform app mappings from the CLI with JSON-first output and explicit flags. # Scope Primary resources from the OpenAPI spec: - `androidToIosAppMappingDetails` (create/get/update/delete) # Proposed CLI Top-level group: - `asc android-ios-mapping <subcommand> [flags]` Subcommands: - `android-ios-mapping list|get|create|update|delete` (for `androidToIosAppMappingDetails`) Examples: - `asc android-ios-mapping list --app APP_ID` - `asc android-ios-mapping get --mapping-id MAPPING_ID` - `asc android-ios-mapping create --app APP_ID --android-package-name com.example.android` - `asc android-ios-mapping update --mapping-id MAPPING_ID --android-package-name com.example.android.new` - `asc android-ios-mapping delete --mapping-id MAPPING_ID --confirm` # Flag patterns Common: - `--app`, `--output`, `--pretty`, `--limit`, `--next`, `--paginate` - `--confirm` for delete operations Resource-specific examples: - `--mapping-id` - `--android-package-name` # Output - JSON minified by default - `--pretty` for JSON - `--output table/markdown` for list commands # Acceptance criteria - [ ] Commands appear in `asc --help` and `asc android-ios-mapping --help` - [ ] CRUD works for Android-to-iOS app mapping details - [ ] Pagination flags work (`--paginate`, `--next`, `--limit`) - [ ] Delete requires `--confirm` - [ ] JSON-first output matches existing conventions - [ ] Table and markdown output for list commands # Tests - Unit tests for command flag validation and error cases - HTTP client tests for list/get/create/update/delete - Output tests for table/markdown # Implementation notes - Add `cmd/android_ios_mapping*.go` and `internal/asc/client_android_ios_mapping*.go` - Add output helpers in `internal/asc/output_android_ios_mapping.go` - Register command in `cmd/root.go` - Add resource type constants in `internal/asc/client_types.go` - Follow patterns in `cmd/apps.go`, `cmd/versions.go`, and output helpers in `internal/asc/output_*`
kerem closed this issue 2026-02-26 21:33:11 +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#75
No description provided.