Skip to content

Instantly share code, notes, and snippets.

@bingeboy
Created July 5, 2013 03:04
Show Gist options
  • Save bingeboy/5931398 to your computer and use it in GitHub Desktop.
Save bingeboy/5931398 to your computer and use it in GitHub Desktop.
Command line to node.
// print process.argv
process.argv.forEach(function (val, index, array) {
console.log(index + ': ' + val);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment