-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
util: add util.parseArgs() #35015
Closed
Closed
util: add util.parseArgs() #35015
Commits on Sep 10, 2020
-
Add a function, `util.parseArgs()`, which accepts an array of arguments and returns a parsed object representation thereof. Ref: nodejs/tooling#19
Configuration menu - View commit details
-
Copy full SHA for 1ae63aa - Browse repository at this point
Copy the full SHA 1ae63aaView commit details
Commits on Sep 11, 2020
-
- rename `expectsValue` to `optionsWithValue` - output an object with props `options` and `positionals` instead of magic `_` - add `multiOptions` option, which results in arrays when parsed - remove "count" functionality in lieu of `multiOptions` - update examples in docstring - update tests - update docs
Configuration menu - View commit details
-
Copy full SHA for b180e2a - Browse repository at this point
Copy the full SHA b180e2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0221e3 - Browse repository at this point
Copy the full SHA a0221e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 971039c - Browse repository at this point
Copy the full SHA 971039cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84b34cc - Browse repository at this point
Copy the full SHA 84b34ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0034079 - Browse repository at this point
Copy the full SHA 0034079View commit details -
Configuration menu - View commit details
-
Copy full SHA for d349208 - Browse repository at this point
Copy the full SHA d349208View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d5cd77 - Browse repository at this point
Copy the full SHA 1d5cd77View commit details -
Configuration menu - View commit details
-
Copy full SHA for d64e82a - Browse repository at this point
Copy the full SHA d64e82aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dbdca3 - Browse repository at this point
Copy the full SHA 4dbdca3View commit details
Commits on Sep 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 97f7e88 - Browse repository at this point
Copy the full SHA 97f7e88View commit details
Commits on Sep 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b2be252 - Browse repository at this point
Copy the full SHA b2be252View commit details -
Configuration menu - View commit details
-
Copy full SHA for 694f9c6 - Browse repository at this point
Copy the full SHA 694f9c6View commit details
Commits on Sep 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3a7f3b1 - Browse repository at this point
Copy the full SHA 3a7f3b1View commit details
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.