Commits

Anonymous committed 1fa319c

[cli][xs]: remove db init command since model repo has no init command.

Comments (0)

Files changed (1)

openletters/cli.py

     db create
     db clean
     db rebuild # clean and create
-    db init # create and put in default data
     # db upgrade [{version no.}] # Data migrate
     '''
     summary = __doc__.split('\n')[0]
         cmd = self.args[0]
         if cmd == 'create':
             model.repo.create_db()
-        elif cmd == 'init':
-            model.repo.init_db()
         elif cmd == 'clean' or cmd == 'drop':
             model.repo.clean_db()
         elif cmd == 'rebuild':