1 | // https://github.com/nodejs/node/blob/1aab13cad9c800f4121c1d35b554b78c1b17bdbd/lib/internal/options.js
|
2 |
|
3 |
|
4 |
|
5 | const argv = Object.create(null)
|
6 |
|
7 | function getOptionValue (optionName) {
|
8 | return argv[optionName.slice(2)] // remove leading --
|
9 | }
|
10 |
|
11 | module.exports = {
|
12 | argv,
|
13 | getOptionValue
|
14 | }
|