Taking arguments from the command line is very common. You can take certain arguments you need as variables, certain flags, etc. In NodeJS, it's very easy Process Object NodeJS exposes an array of argument values in the form of process.argv. Example ...

Markdown supported · ⌘↵ to post
No responses yet.