There are much better ways to use commander according to the deeper docs: http://tj.github.io/commander.js/
we can implement things like
- Default behavior for no arguments
- Ability to call different methods based on arguments
- This will let us actually only call logic if needed without using
if
There are much better ways to use commander according to the deeper docs: http://tj.github.io/commander.js/
we can implement things like
if