Repository navigation
feat!: replace yargs with Node.js util.parseArgs - #6128
Closed
JoshuaKGoldberg wants to merge 9 commits into
Closed
JoshuaKGoldberg wants to merge 9 commits into
JoshuaKGoldberg wants to merge 9 commits into
Conversation
Amp-Thread-ID: https://ampcode.com/threads/T-019f1375-8955-726a-a8a4-52e501bb56db Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019f1375-8955-726a-a8a4-52e501bb56db Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019f1375-8955-726a-a8a4-52e501bb56db Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019f1375-8955-726a-a8a4-52e501bb56db Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019f1375-8955-726a-a8a4-52e501bb56db Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019f1375-8955-726a-a8a4-52e501bb56db Co-authored-by: Amp <amp@ampcode.com>
5 tasks done
Amp-Thread-ID: https://ampcode.com/threads/T-019f1375-8955-726a-a8a4-52e501bb56db Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019f1375-8955-726a-a8a4-52e501bb56db Co-authored-by: Amp <amp@ampcode.com>
mark-wiemer
reviewed
Jul 4, 2026
mark-wiemer
reviewed
Jul 4, 2026
mark-wiemer
reviewed
Jul 4, 2026
mark-wiemer
left a comment
Member
There was a problem hiding this comment.
Cool, will review in detail for coverage later but liking the direction for sure :)
Member
|
ugh, see backing issue for replacement PR, this one targeted a feature branch and I didn't notice. The feature branch is gone and I'm not eager to restore it. |
Member
This was referenced Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

PR Checklist
status: accepting prsOverview
Replaces
yargscommand dispatching with Node.js-nativeutil.parseArgs.Stacked on:
This PR is actually a net reduction in lines of code. Ignoring test files, the PR total is +298/-397. Combined with those two stacked PRs, the total prod lines change comes out to +673/-577. Not bad!
Behavior Changes
--helpoutput is now generated by Mocha instead of yargs, so exact formatting, grouping, and wrapping may differ while preserving the same user-facing information.--version/-Vand--help/-hare handled before run preparation, so they print version/help output even when other options such as--requirepoint to modules that cannot be loaded.