apple / apple/swift-argument-parser
Remaining arguments and plurality
- Dominant language
- Swift
- Stars
- 3.8k
- Forks
- 411
- Avg merge
- 7d 13h
- Merged PRs (30d)
- 17
Description
I'd like to be able to optionally control the USAGE for `.remaining` parsing to provide appropriate plurality. The screenshot below suggests that the user enters multiple location hints. They do not. With the `.remaining` parsing, the arguments become a single location hint.
_What I see:_
`USAGE: now [--time
_What I want (ideas):_
`USAGE: now [--time

Contributor guide
Research direction
Start by locating the `.remaining` argument parsing and the code that generates its USAGE text. Compare the current `[ ...]` output with the requested plurality forms, then verify that an optional configuration produces the intended usage wording without changing normal parsing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100