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

More setup and cli commands

All setup and cli commands · Flask 3 cheatsheet

Was this page helpful?