I don't always know which options a particular command will end up using since a lot of the actual options needed will be dynamically generated based on the first argument passed to the command. I'm using minimist right now for that very reason, but Vorpal offers so much cool stuff!
This is actually the one thing that's preventing me from using this library in a project.
Commander.js supports calling
allowUnknownOption
on a command object: https://github.com/tj/commander.js/blob/master/index.js#L425-L428.I don't always know which options a particular command will end up using since a lot of the actual options needed will be dynamically generated based on the first argument passed to the command. I'm using
minimist
right now for that very reason, but Vorpal offers so much cool stuff!