@manager.option('-e', '--env', default='dev', help="shell environment [default 'dev']")
def shell(env, no_ipython=False, no_bpython=False):
    def _make_context():
        manager.init_for(env)
        context = dict(app=manager.app, db=manager.db, init_for=manager.init_for, flask=flask)
        context.update(manager.context)
        return context
    Shell(make_context=_make_context).run(no_ipython=no_ipython, no_bpython=no_bpython)
Initiate a Python shell
dataset/ETHPy150Open hasgeek/coaster/coaster/manage.py/shell