I want to know the correct way to start a flask application. The docs show two different commands:
$ flask -a sampl
For Linux/Unix/MacOS :-
export FLASK_APP = sample.py flask run
For Windows :-
python sample.py OR set FLASK_APP = sample.py flask run