hughsk / smokestack

Pipe your JavaScript into a browser, logging console output in Node
Other
245 stars 26 forks source link

--help #22

Closed yoshuawuyts closed 9 years ago

yoshuawuyts commented 9 years ago

Would be cool if --help / -h printed the usage. Maybe even print if no stdin is detected. Was looking for --close usage (see #21), and found that we don't have any cli docs yet. What do you guys reckon should be the default behavior? Thanks!

yoshuawuyts commented 9 years ago

derp, code says it should work. https://github.com/hughsk/smokestack/blob/master/bin/smokestack.js#L17 Running the latest version of smokestack it doesn't though :( I must go deeper!

yoshuawuyts commented 9 years ago

derp, we're still on 2.0.0 on npm which doesn't have `--help'