Closed jfoclpf closed 1 year ago
const commandLineArgs = require('command-line-args') const argvOptions = commandLineArgs([ { name: 'src', type: String, multiple: true, defaultOption: true }, ]) console.log(argvOptions.onlyCP4)
when I run
node example.js --src
shouldn't output the default option?
ok, I see, duplicate of #125
when I run
shouldn't output the default option?