parsing and then unparsing removes `=`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 20
- Forks
- 12
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
I've been trying to get unparsed arguments passed on to npm6 and yargs parser+unparser turns --omit=dev that npm6 understands into ['--omit', 'dev'] which it doesn't.
I know it's not great of npm6 to do that, but it is an issue with unparser that it produces a different set of arguments.
It could use a hint from parser weather the value was given via = or not.
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 yargs-unparser represents and emits values supplied with =; the issue provides the reproducing case --omit=dev and the npm6/yargs context. Confirm that parsing and then unparsing preserves the original equals form, including the existing behavior for arguments without =.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100