Merge pull request #2915 from loomchild/master

fix @click.command example by adding parens
This commit is contained in:
David Lord 2018-09-19 10:01:34 -07:00 committed by GitHub
commit c92001d2fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -308,7 +308,7 @@ decorator instead of the Flask decorator, you can use
import click
from flask.cli import with_appcontext
@click.command
@click.command()
@with_appcontext
def do_work():
...