how to pass a function as a node cli parameter code example Example: node run parameters var args = process.argv.slice(2);