refactor(cloudcmd) mv argv parsing to bin

This commit is contained in:
coderaiser 2014-07-10 10:41:04 -04:00
parent c42c9f8be5
commit e2a720425c
4 changed files with 24 additions and 16 deletions

View file

@ -75,10 +75,7 @@
ssl = options.ssl,
sslPort = config.sslPort;
/* server mode or testing mode */
if (!config.server)
Util.log('Cloud Commander testing mode');
else
if (config.server)
if (!ssl)
createServer(port, ip, HTTP);
else {