Glavin001 / SMMApp2

Saint Mary's Mobile App, Version 2.0 @
http://society.cs.smu.ca:7000
2 stars 0 forks source link

Custom port for app.js server with arguments #1

Closed Glavin001 closed 10 years ago

Glavin001 commented 10 years ago

Custom port for app.js server with arguments.

Usage:

node app.js --port 8081

Where default port is 8080.

Glavin001 commented 10 years ago

Use https://github.com/substack/node-optimist or use: https://github.com/visionmedia/commander.js/

Looks like Commander.js has the highest number of Stars and also looks very complete.