[Flask] flask.cli: What happened to @script_info_option?

Matt Chaput matt at sidefx.com
Thu Apr 27 15:57:21 EDT 2017

I wanted it to add common app-configuration options such as --config, --loglevel, --logfile, etc. to the group and read them from the scriptinfo in my app factory function.

The decorator was apparently removed after 0.11 with a cryptic commit message like "implementing simplified interface".

So... how do I do add app-factory-time configuration options now?



More information about the Flask mailing list