@app.cli.command('initdb')
def initdb_command():
 init_db()
 print 'Initialized the database.'

@ app . cli . command ( 'initdb' ) def initdb_command ( ) : init_db ( ) print 'Initialized the database.'
creates the database tables .