[PR #540] [MERGED] HasPositionalArgs separator handling #606

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

📋 Pull Request Information

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

Base: feat/root-help-groupingHead: cursor/haspositionalargs-separator-handling-e75e


📝 Commits (1)

  • a174f63 Handle -- separator in positional arg detection

📊 Changes

2 files changed (+11 additions, -0 deletions)

View changed files

📝 cmd/run.go (+3 -0)
📝 cmd/run_additional_test.go (+8 -0)

📄 Description

Summary

  • Fixed hasPositionalArgs to correctly identify all tokens after a -- separator as positional arguments, aligning with standard Unix/Go flag parsing behavior.

Validation

  • make format
  • make lint
  • make test


🔄 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/540 **Author:** [@cursor[bot]](https://github.com/apps/cursor) **Created:** 2/14/2026 **Status:** ✅ Merged **Merged:** 2/14/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `feat/root-help-grouping` ← **Head:** `cursor/haspositionalargs-separator-handling-e75e` --- ### 📝 Commits (1) - [`a174f63`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/a174f63f07d1b57676291646e175f5d77f94f39d) Handle -- separator in positional arg detection ### 📊 Changes **2 files changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/run.go` (+3 -0) 📝 `cmd/run_additional_test.go` (+8 -0) </details> ### 📄 Description ## Summary - Fixed `hasPositionalArgs` to correctly identify all tokens after a `--` separator as positional arguments, aligning with standard Unix/Go flag parsing behavior. ## Validation - [x] `make format` - [x] `make lint` - [x] `make test` --- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:31:44 +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#606
No description provided.