Maybe a stupid question, but why would use an event system if the parsing and basically the whole module is doing synchronous operations. Also, if you just want to parse arguments you could look at argh! https://github.com/observing/argh
On Friday, September 13, 2013 at 6:34 PM, Gagle wrote: > Hi, > > I've made yet another cli parser because after analyzing the most popular > parsers all of them have something weird, are hard to configure or simply I > don't like them. The best by far (imo) is the optimist module because without > any config it can parse any GNU-style arguments, but! I don't like the way it > must be configured if I want something more complex. I was also searching for > a module to print nice help messages. > > So here it is, argp (https://github.com/gagle/node-argp). I think it's the > best cli parser right now (I even submitted a bug to substack's module :P). > Easy to configure and with the event system you can adapt it to your needs. > It does all the error checking and prints excellent help and usage messages. > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > (mailto:nodejs@googlegroups.com) > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > (mailto:nodejs+unsubscr...@googlegroups.com) > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nodejs+unsubscr...@googlegroups.com > (mailto:nodejs+unsubscr...@googlegroups.com). > For more options, visit https://groups.google.com/groups/opt_out. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.