I'm not sure what I've done wrong here, and the error message isn't helping me much...
aha - I'm guessing that '-version' should be '-v'
Dave
λ "C:\Users\Dave\Downloads\pkg\pkg\symbol-upload-win.exe" -b UnitTests -a protectionagent-5.0.0 -version 5.0.0
C:\snapshot\symbol-upload\node_modules\command-line-args\dist\index.js:1374
const err = new Error(`Unknown option: ${arg}`);
^
UNKNOWN_OPTION: Unknown option: -e
at Object.commandLineArgs [as default] (C:\snapshot\symbol-upload\node_modules\command-line-args\dist\index.js:1374:21)
at getCommandLineOptions (C:\snapshot\symbol-upload\dist\bin\index.js)
at C:\snapshot\symbol-upload\dist\bin\index.js
at Object.<anonymous> (C:\snapshot\symbol-upload\dist\bin\index.js)
at Module._compile (pkg/prelude/bootstrap.js:1926:22)
at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:834:12)
at Function.runMain (pkg/prelude/bootstrap.js:1979:12)
at node:internal/main/runλ "C:\Users\Dave\Downloads\pkg\pkg\symbol-upload-win.exe" -b UnitTests -a protectionagent-5.0.0 -version 5.0.0
C:\snapshot\symbol-upload\node_modules\command-line-args\dist\index.js:1374
const err = new Error(`Unknown option: ${arg}`);
^
UNKNOWN_OPTION: Unknown option: -e
at Object.commandLineArgs [as default] (C:\snapshot\symbol-upload\node_modules\command-line-args\dist\index.js:1374:21)
at getCommandLineOptions (C:\snapshot\symbol-upload\dist\bin\index.js)
at C:\snapshot\symbol-upload\dist\bin\index.js
at Object.<anonymous> (C:\snapshot\symbol-upload\dist\bin\index.js)
at Module._compile (pkg/prelude/bootstrap.js:1926:22)
at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:834:12)
at Function.runMain (pkg/prelude/bootstrap.js:1979:12)
at node:internal/main/run_main_module:17:47 {
optionName: '-e'
}
Node.js v18.5.0_main_module:17:47 {
optionName: '-e'
}
Node.js v18.5.0
I'm not sure what I've done wrong here, and the error message isn't helping me much...
aha - I'm guessing that '-version' should be '-v'
Dave