Option/Command Collisions
RichFromGalvanize opened this issue · 2 comments
RichFromGalvanize commented
If you add an option then add a command with the same name, it will overwrite the option and crash the application. It will also crash if you define the command then the option.
commandline
.option('-t, --test', 'A test option.');
commandline
.command('test')
.action(function(){
//Do Stuff
});
lifenautjoe commented
+1 , seems that no one is maintaining this anymore.
tzmanics commented
Hi @BusyRich & @thefabulousdev sorry for the big delay in response, we aren't currently maintaining this repo so I'm going to close this issue for now. Once we figure out the next steps for our fork of commander.js
we'll post an update on the repo.
Thanks for reaching out and feel free to re-open this issue if it's something you would like addressed sooner rather than later.