Closed ept closed 11 years ago
See this thread on node.js command-line argument parsers.
This seems like by far the most flexible offering and is exactly I think what we're after: https://github.com/substack/node-optimist
I'm hoping that I'll get to this this week but likely at latest early next week. That is unless you beat me to it.
Micah
Glad to see this got pulled in so quickly! Let me know when you get a chance to get this out to the npmjs site.
Thank you for all of your help Martin!
Micah
Fixed in #8, thanks Micah :)
For situations where you can't redirect stdout (e.g. some CI servers), we should support writing the HTML output to a file specified on the command line.
I think sort(1) is a good example for command line style. In its style, we would support all these forms (argument order doesn't matter, so the output argument can come before or after the inputs):