manage
manage copied to clipboard
add option to auto import all flask modules to shell
See flask-konsh
def get_flask_imports():
ret = {}
for name in [e for e in dir(flask) if not e.startswith('_')]:
ret[name] = getattr(flask, name)
return ret
if in manage.yml shell: import_flask_object: true import all the above