* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
8 lines
539 B
Markdown
8 lines
539 B
Markdown
# process.argv
|
|
|
|
`process.argv` is an array containing the command-line arguments passed to the Node.js process. The first two elements are the path to Node.js and the script file; the remaining elements are the arguments provided by the user. Parsing `process.argv` manually is the lowest-level way to read CLI input.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@official@process.argv](https://nodejs.org/docs/latest/api/process.html#processargv)
|
|
- [@video@Command Line Arguments - Cave of Programming](https://youtu.be/nr7i2HOAjeE) |