Permalink
Browse files

Removed db:init from CLI commands -- should be called via `geddy jake`

  • Loading branch information...
1 parent 16d7b11 commit a3bb69d2acea07b1de1dcf308b9328a2401299af mde committed Apr 4, 2013
Showing with 0 additions and 9 deletions.
  1. +0 −9 bin/cli.js
View
@@ -202,7 +202,6 @@ if (cmds.length) {
// Some commands take only one arg
if (!(cmds[0] == 'jake' ||
cmds[0] == 'secret' ||
- cmds[0] == 'db:init' ||
cmds[0] == 'auth' ||
cmds[0] == 'auth:update' ||
cmds[0] == 'console' ||
@@ -250,14 +249,6 @@ if (cmds.length) {
// Update authentication
cmd += 'auth:update';
break;
- case 'db:init':
- // Create DBs
- cmd += 'db:init';
- break;
- case 'db:createTable':
- // Create DBs
- cmd += 'db:createTable[' + cmds[1].replace(/,/g, '%') + ']';
- break;
case 'app':
// Generating application
cmd += 'gen:app[' + cmds[1] + engineCmd + rtCmd + ']';

0 comments on commit a3bb69d

Please sign in to comment.