visionmedia/commander.js — pull request #28 by itay (2011-11-20 23:55:05+00:00)
Title: Add options to subcommands

I needed to have subcommands have the ability to take options, and I thought it would be a fun exercise to add it, so here it is. I've also added some tests and enhanced the deploy sample to make sure it works.

One thing to note is that it is not quite right if you add nested subcommands in the future, though it's very close. I decided to tackle just this for now though.