Passing CL arguments


#1

Is it possible to pass in arguments to an atom-shell app. In this case, I am wishing to specify the port on which a backend server will run.


#2

You can use require('remote').process.argv to get the the command line arguments passed to the application.


#3

Hi zcbenz,

Can you provide an example of this or pass along a link to documentation on it?
Thanks!


#4

You can find documentation on remote here:

http://electron.atom.io/docs/api/remote/