nodejs-github-botadded a commit that references this issue on Jun 19, 2024 util: support `--no-` for argument with boolean type for parseArgs... Verified4a72b2f targosadded a commit that references this issue on
pr-url: https://github.com/nodejs/node/pull/46718 @@ -1429,6 +1432,9 @@ changes: * `allowPositionals` {boolean} Whether this command accepts positional arguments. **Default:** `false` if `strict` is `true`, otherwise `true`. * `allowNegative` {boolean} If `true`, allows explicit...
base repository: nodejs/node base: main ... head repository: avivkeller/node compare: util-parseargs-lint-md Able to merge. These branches can be automatically merged. 2 commits 1 file changed 1 contributor Commits on Nov 2, 2024 tools: use util.parseArgs in lint-md avivkeller ...
Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/nodejs/node/blob/main/lib/internal/util/parse_args/parse_args.js If this PR brings the type definitions up to date with a new version of the JS library, update the version ...
Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
nodejs-github-bot added needs-ci util labels May 22, 2024 Copy link Member avivkeller commented May 22, 2024 • edited Loading IMO there should be a flag, something like allowNegativeArguments in the options (My name probably needs some work). Someone may be be parsing a --no- pref...
Version: Deno 1.40.5 import { parseArgs } from "node:util"; const parsedArgs = parseArgs({ options: { hello: { type: "string" } }, allowPositionals: true, }); console.log(parsedArgs); node a.js --args hello a { values: [Object: null prot...
For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. Show more label The following actions uses node12 which is deprecated and will be forced to run on node16: nodejs/node-pr-labeler@d4cf1b8b9f23189c37917000e5e17e...