-
-
Notifications
You must be signed in to change notification settings - Fork 38.1k
parseArgs Type Definition #47487
Copy link
Copy link
Closed as not planned
Labels
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Description
Activity
Metadata
Metadata
Assignees
Labels
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Instead of having a
typeproperty with either a"string"or"boolean"value, I believe it would be more intuitive to have abooleanproperty with eithertrueorfalsevalue, with the default value being false.Furthermore, I would prefer the options to be an array of objects, as this would make it easier work with them.
Thank you for including the parseArgs feature in Node!