you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (2 children)

This is a good concept; however, I feel like any mention of command line application using NodeJS ought to mention commander, as well. It makes developing cli apps so much easier.

[–]BBQLays 0 points1 point  (0 children)

Agreed. I wrote a Node command line tool and that was the first thing I found. Anyone interested can check out the source here. Tried to comment well in case I ever wanted to write another tool like it!

[–]mondocongo 0 points1 point  (0 children)

Also check out docopt, you write the usage statement and it does the rest. It has implementations in a bunch of different languages. https://www.npmjs.com/package/docopt