flask.cli ScriptInfo Example Code

ScriptInfo is a class within the flask.cli module of the Flask framework. It is a helper object for Flask application and not usually dealt with directly by developers, instead it is created automatically by the FlaskGroup object.

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

Example 1 from FlaskBB

FlaskBB (project website) is a Flask-based forum web application. The web app allows users to chat in an open message board or send private messages in plain text or Markdown.

FlaskBB is provided as open source under this license.

FlaskBB / flaskbb / cli / main.py

Example 2 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 / util.py