I think you could do js interop and read 'process.argv' from node.js