From yesterday I read a lot of topics about the famous error:
"No such command init-db"
So, I followed the tutorial here: https://flask.palletsprojects.com/en/1.1.x/tutorial/database/
(I'm under Debian 9.6)
I do the following :
export FLASK_APP=webApp
export FLASK_ENV=development
flask init-db
I then tried:
python3 -m flask init-db
I also tried:
export FLASK_APP=webApp.py
But I still have the same error message.
Here is the tree of my project :
instance/
webApp/
├── auth.py
├── babel.cfg
├── dashboard.py
├── db.py
├── __init__.py
├── pdf.py
├── __pycache__
│ ├── auth.cpython-35.pyc
│ ├── db.cpython-35.pyc
│ ├── __init__.cpython-35.pyc
│ ├── pdf.cpython-35.pyc
│ └── ws.cpython-35.pyc
├── schema.sql
├── static
I didn't see what I've missed.

db.pycontent.db.pyfile? You need to do that in order to register command viaClick.from . import dbin that tutorial you used.