> > - cli now uses 'nopt' to parse command line arguments >
+1 for nopt. It has better parsing functionality with flag descriptions like this: 'debug' : [Number, String], 'searchpath' : [path, Array] path in this case will even resolve the path relative to process.cwd() optimist has very cool features for documenting the flags with optimist.describe() but we use the help.txt file instead anyway, this leaves nopt as a better tool for us, imho.