skynetim/skynet — pull request #11 by m3talsmith (2014-01-23 05:06:42+00:00)
Title: Added an environment option

Currently we are limited to letting the config.js dictate what environment the server.net is connecting to. There are many good reasons to have the environment dictate what config we use - a role reversal.

I've added an environment option to the server.js so that we can start it in different environments. We can also parse other cli options at a future date since it's using commander.

``` bash
node server environment production
```

This defaults to the development environment.