Open vjpr opened 10 years ago
#bin/index.coffee console.log process.argv
coffee bin/index.coffee -- [ 'coffee', 'xxx/bin/index.coffee', '--' ] coffee -v CoffeeScript version 1.1.3
iced bin/index.coffee -- [ 'coffee', 'xxx/bin/index.coffee' ] iced -v IcedCoffeeScript version 1.7.0-a
I'm writing a CLI util which I run with a script because I need to modify the NODE_PATH var.
NODE_PATH
I want to use -- in my CLI app to handle un-handled arguments.
--
I'm writing a CLI util which I run with a script because I need to modify the
NODE_PATH
var.I want to use
--
in my CLI app to handle un-handled arguments.