Ask coding questions

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

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 (4)

I found how to do that :

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

python -m flask run --host=

Lord_Poseidon (158)

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