`negation-prefix` does not work with `short-option-groups`
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 519
- Forks
- 129
- Avg merge
- 1h 34m
- Merged PRs (30d)
- 1
Description
Hi, I want to use short-option-groups and I want negation-prefix to work, however, yargs parses negation prefix only if it starts with --, so I can't use -no-window. Can this be improved, please? :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how negation-prefix and short-option-groups are parsed, then run the existing parser tests to find the relevant coverage. Add a case for -no-window and verify that the negation prefix works with grouped short options without changing existing -- behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100