diff --git a/docs/cli.rst b/docs/cli.rst index a69fa874..78f8e3d5 100644 --- a/docs/cli.rst +++ b/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(): ...