Browse Source

Merge pull request #2915 from loomchild/master

fix @click.command example by adding parens
pull/2916/head
David Lord 6 years ago committed by GitHub
parent
commit
c92001d2fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/cli.rst

2
docs/cli.rst

@ -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…
Cancel
Save