danielgtaylor / nesh

An enhanced, extensible interactive shell for Node.js and CoffeeScript
http://danielgtaylor.github.io/nesh/
MIT License
288 stars 27 forks source link

Support passing arguments to node #21

Open forivall opened 10 years ago

forivall commented 10 years ago

Similar to coffeescript's --nodejs option, it would be nice to be able to pass arguments to node when using nesh.

My use case is that I have a script that I run on start using the -e option, it loads a lot of modules for convenience, and I'd like to use --harmony-proxies to lazy load them (using a pattern similar to what python's nltk does).

danielgtaylor commented 10 years ago

Fantastic idea! I'd like to use some harmony features too in the near future.

ne0zen commented 9 years ago

one could tackle this kind of thing on *nix w/:

node --harmony_proxies `which nesh` --your --nesh --args