I actually just copied the bin file that coffeescript use!

https://github.com/jashkenas/coffee-script/blob/master/bin/coffee

Presumably the environment is the same as when you run `node cram` and if you use `argv` or whatever then that still works?