# -*- coding: utf-8 -*-

from flask_script import Manager
from  c2 import app

manager = Manager(app)

@manager.option('-n', '--name',dest='name', default='nowcoder')
def hello(name):
     print 'hello',name

@manager.command
def initialize_database():
    'initialize database'
    print 'database ...'

if __name__ == '__main__':
    manager.run()
ed898092b1066b060d8adb0519503fbe3162baaf
# -*- coding: utf-8 -*-

from flask_script import Manager
from  c2 import app

manager = Manager(app)

@manager.option('-n', '--name',dest='name', default='nowcoder')
def hello(name):
     print 'hello',name

@manager.command
def initialize_database():
    'initialize database'
    print 'database ...'

if __name__ == '__main__':
    manager.run()