You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into an issue when i use the .allowUnknownOption(true) .
As you have mentioned after version 5.0.0 all unknown options should passed into program.opts() json
the problem is that program.opts() json includes only the defined program.option() parameters
I want to iterate through all the unknown options but i dont know if this package cant support this action or if it's a bug with allowUnknownOption feature.
I'm running into an issue when i use the .allowUnknownOption(true) .
As you have mentioned after version 5.0.0 all unknown options should passed into program.opts() json
the problem is that program.opts() json includes only the defined program.option() parameters
I want to iterate through all the unknown options but i dont know if this package cant support this action or if it's a bug with allowUnknownOption feature.
My current code:
The command i am using for testing is
node index.js --src-ip 1.1.1.1 --model-input Test a -o c:/users /json --testOption unknownOption
The output:
The text was updated successfully, but these errors were encountered: