Skip to content

Commit

Permalink
dev_mode command line tool
Browse files Browse the repository at this point in the history
  • Loading branch information
tedsuo committed Jul 20, 2012
1 parent dfac06a commit c6b1171
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion bin/dev_mode
@@ -1,2 +1,15 @@
#!/usr/bin/env node
require(__dirname+'/../');
switch(process.argv[2]){
case 'install':
require(__dirname+'/../install');
break;

case 'start':
require(__dirname+'/../dev_mode');
break;

default:
console.log('Usage: dev_mode <command>');
console.log('install - create a config file');
console.log('start - start dev_mode');
};

0 comments on commit c6b1171

Please sign in to comment.