diff --git a/docs/cli.rst b/docs/cli.rst index 7ce63fd2..6bae15db 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -306,7 +306,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(): ...