[PR #292] [MERGED] OptionalBool type deduplication #417

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

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/292
Author: @cursor[bot]
Created: 1/29/2026
Status: Merged
Merged: 1/29/2026
Merged by: @rudrankriyam

Base: feat/promoted-purchasesHead: cursor/optionalbool-type-deduplication-0694


📝 Commits (1)

  • 7f2acd3 Deduplicate optional bool flag type

📊 Changes

9 files changed (+79 additions, -143 deletions)

View changed files

internal/cli/preorders/optional_bool.go (+0 -32)
📝 internal/cli/preorders/pre_orders.go (+4 -3)
📝 internal/cli/promotedpurchases/promoted_purchases.go (+14 -13)
📝 internal/cli/promotedpurchases/promoted_purchases_helpers.go (+0 -27)
📝 internal/cli/sandbox/sandbox_helpers.go (+0 -27)
📝 internal/cli/sandbox/sandbox_helpers_test.go (+8 -4)
📝 internal/cli/sandbox/sandbox_manage.go (+5 -4)
📝 internal/cli/shared/availability_command.go (+7 -33)
internal/cli/shared/optional_bool.go (+41 -0)

📄 Description

Refactor optionalBool into a shared package to eliminate code duplication across CLI commands.



🔄 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/292 **Author:** [@cursor[bot]](https://github.com/apps/cursor) **Created:** 1/29/2026 **Status:** ✅ Merged **Merged:** 1/29/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `feat/promoted-purchases` ← **Head:** `cursor/optionalbool-type-deduplication-0694` --- ### 📝 Commits (1) - [`7f2acd3`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/7f2acd384abeed3648922aaae448faf0c593162d) Deduplicate optional bool flag type ### 📊 Changes **9 files changed** (+79 additions, -143 deletions) <details> <summary>View changed files</summary> ➖ `internal/cli/preorders/optional_bool.go` (+0 -32) 📝 `internal/cli/preorders/pre_orders.go` (+4 -3) 📝 `internal/cli/promotedpurchases/promoted_purchases.go` (+14 -13) 📝 `internal/cli/promotedpurchases/promoted_purchases_helpers.go` (+0 -27) 📝 `internal/cli/sandbox/sandbox_helpers.go` (+0 -27) 📝 `internal/cli/sandbox/sandbox_helpers_test.go` (+8 -4) 📝 `internal/cli/sandbox/sandbox_manage.go` (+5 -4) 📝 `internal/cli/shared/availability_command.go` (+7 -33) ➕ `internal/cli/shared/optional_bool.go` (+41 -0) </details> ### 📄 Description Refactor `optionalBool` into a shared package to eliminate code duplication across CLI commands. --- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:30:50 +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#417
No description provided.