Ask coding questions

← Back to all posts
Use flask CLI
NicolasRemond (3)

Instead of have to run the code with a main and the button "start", I would like to use the command line of Flask, from the shell.

NicolasRemond (3)

I found how to do that :

Just open the shell (F1, then type shell) and type :

python -m flask run --host=

Lord_Poseidon (111)

@NicolasRemond good! I was about to answer...