In a file (both valid coffee script and vanilla JS):
console.log(process.argv)
then call with:
$ node argv.js -myargs
[ 'node', '/Users/Chris/Desktop/argv.js', '-myargs' ]
and
$ coffee argv.js -myargs
[ 'coffee',
'/Users/Chris/Desktop/argv.js',
'-m',
'-y',
'-a',
'-r',
'-g',
'-s' ]
CoffeScript still interprets flags after the script name.