Flask 3 · Setup and CLI
Open a shell with the app loaded
Start a Python shell with the application context active.
flask --app app shell
Official Flask 3 documentation
Flask 3 · Setup and CLI
Start a Python shell with the application context active.
flask --app app shell
Official Flask 3 documentation
Was this page helpful?