I want to know the correct way to start a flask application. The docs show two different commands:
$ flask -a sampl
Latest documentation has the following example assuming you want to run hello.py(using .py file extension is optional):
hello.py
.py
Unix, Linux, macOS, etc.:
$ export FLASK_APP=hello $ flask run
Windows:
> set FLASK_APP=hello > flask run