Skip to content

src: expose ability to set options#30466

Closed
codebytere wants to merge 1 commit intonodejs:masterfrom
codebytere:enable-passing-cli
Closed

src: expose ability to set options#30466
codebytere wants to merge 1 commit intonodejs:masterfrom
codebytere:enable-passing-cli

Conversation

@codebytere
Copy link
Copy Markdown
Member

This PR exposes the ability to pass cli flags through an API for the embedder use case.

Electron needs to do its own parsing of arguments, and before this was unable to handle Node.js' cli flags at all, which prevented consumers from doing useful things like enabling experimental Node.js features.

cc @addaleax

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

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. c++ Issues and PRs that require attention from people who are familiar with C++. embedding Issues and PRs related to embedding Node.js in another project. lib / src Issues and PRs related to general changes in the lib or src directory. semver-minor PRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants