Merge pull request #2915 from loomchild/master
fix @click.command example by adding parens
This commit is contained in:
commit
c92001d2fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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():
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue