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
There's no way I can find to find which args are unsupported. In this
program..allowUnknownOption();// error on unknown commandsprogram.on('command:*',function(){console.error('Invalid command: %s\nSee --help for a list of available commands.',program.args.join(' '));process.exit(1);});
The function receives no arguments and command.args is empty in my usage. Can there be a command.unknownOptions added to store the ones added?
The text was updated successfully, but these errors were encountered:
There's no way I can find to find which args are unsupported. In this
The function receives no arguments and
command.args
is empty in my usage. Can there be acommand.unknownOptions
added to store the ones added?The text was updated successfully, but these errors were encountered: