flask.cli pass_script_info Example Code

pass_script_info is simply a decorator around the ScriptInfo class within this same flask.cli module.

AppGroup, DispatchingApp, FlaskGroup, ScriptInfo, and with_appcontext are several other callables with code examples from the same flask.cli package.

Example 1 from indico

indico (project website, documentation and sandbox demo) is a Flask-based web app for event management. The code is open sourced under the MIT license.

indico / indico / cli / core.py