unjs / unjs/citty

Support alias value with `=` (`-foo=bar`)

Open Beginner friendly
#237 1 comment 4 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.