Skip to content

util: add default value option to parsearg#44631

Merged
nodejs-github-bot merged 5 commits intonodejs:mainfrom
Eomm:parseargs-default-value
Oct 7, 2022
Merged

util: add default value option to parsearg#44631
nodejs-github-bot merged 5 commits intonodejs:mainfrom
Eomm:parseargs-default-value

Conversation

@Eomm
Copy link
Copy Markdown
Member

@Eomm Eomm commented Sep 13, 2022

This PR adds to the parseArgs utility feature a new default input field option.
The developer will be able to define a default value to retrieve when the input arguments are processed.

This PR has a downstream to pkgjs/parseargs#142

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. semver-minor PRs that contain new features and should be released in the next minor version. util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.