Expand description
Node.js CLI Argument Parser - Rust Implementation
This is a Rust implementation that matches the exact behavior of Node.js CLI argument parsing found in src/node_options.cc and related files.
Based on Node.js source code analysis of:
- src/node_options.cc (option definitions and parsing logic)
- src/node_options.h (option structures and types)
- src/node_options-inl.h (template implementation)
- src/node.cc (main execution flow)
Structs§
- Debug
Options - Environment
Options - Host
Port - Inspect
Publish Uid - Options
Parser - Parse
Result - PerIsolate
Options - PerProcess
Options
Enums§
Functions§
- parse_
args - Main parsing function
- parse_
node_ options_ env_ var - Parse NODE_OPTIONS environment variable