def shell(self, func):

        self.add_command('shell', Shell(make_context=func))

        return func
Decorator that wraps function in shell command. This is equivalent to::
dataset/ETHPy150Open danjac/Flask-Script/flaskext/script.py/Manager.shell