Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cli shouldn't mess with sys.argv #3022
Just merged pallets/werkzeug#1416 so Werkzeug's reloader detects
def main(as_module=False): cli.main(prog_name="python -m flask" if as_module else None)
Need to wait until Werkzeug 0.15 has been out for a bit before we can bump Flask's min version.