feature(repl) add

This commit is contained in:
coderaiser 2014-08-14 02:40:14 -04:00
parent 3d017571ca
commit df0ab548de
2 changed files with 32 additions and 0 deletions

View file

@ -56,6 +56,10 @@
case '--help':
help();
break;
case '--repl':
repl();
break;
}
function version() {
@ -100,4 +104,10 @@
console.log('\n' + site);
}
function repl() {
console.log('REPL mode enabled (telnet localhost 1337)');
require(DIR_LIB + '/server/repl');
start();
}
})();