tes/bosco — pull request #17 by gabceb (2014-10-01 04:19:54+00:00)
Title: Add ability to specify options from commands

This PR changes the way we parse commands. Instead of having a long list of commands defined at /bin/bosco.js we now go over every command js file (local and global) and grab any options commands are interested on. These options are then merged into an array and passed to commander for parsing.

The reason why we need the user to specify the name of the command on the option object is because commander will not allow adding an already created Option and we don't know the name they will give it on runtime.

This may be a better solution for #10