yavrumian / test.io

Online tool to test your Socket.io project
http://io-tester.herokuapp.com/
MIT License
3 stars 3 forks source link

Change port from command line instead of app.js #2

Closed VishalVatsal97 closed 4 years ago

VishalVatsal97 commented 4 years ago

Hi, I am new to NodeJs and would like to contribute.

It'll be nice if we can change port from command line rather than changing the source code. We can use something like yargs module to implement this.

What do you think?

yavrumian commented 4 years ago

I don't really understand you, you just need to change it from env, why you want to change it with command line?