Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
route app.run through the cli whenever possible #2781
This change expands the venerable
Given an application
if __name__ == '__main__': app.run()
The following features are supported:
referenced this pull request
May 24, 2018
Guys, this change has been gathering dust since May. Anything I can do to make it more palatable and hopefully get it in?
The most important reason I want this (or something similar) in is that it brings parity between the two methods of starting a Flask app. A lot of people prefer and still use the
I suppose I approve this, but I don't like how circuitous and duplicated it's becoming (that's not your fault though). I'd really like to investigate how we can actually unify the code of
I'm currently focused on other things (in Pallets and in general), so I won't be able to make a release for a while longer unless someone wants to handle more of the process for me (check what's been merged since the last tag, ensure changelog is up to date and links to issues/PRs, decide to merge any other PRs for a feature release, etc.).