Support alias value with `=` (`-foo=bar`)
Open
Beginner friendly
Nobody has claimed this yet.
bug
discussion
enhancement
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
Environment
citty 0.2.1
node 24
Reproduction
https://github.com/unjs/citty/pull/230
Describe the bug
the native node arg parser includes the = in the value when used like -foo=bar
Additional context
No response
Logs
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 reviewing the reproduction referenced in pull request 230 and running the reported case with citty 0.2.1 on Node 24. Trace how the native Node argument parser handles -foo=bar; done means the alias value no longer includes = and the behavior is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100