... to be executed in the application context, it can be explicitly disabled: @app.cli.command(with_appcontext=False) def do_work(): pass ...
確定! 回上一頁