Flask: [New Feature] Flask init utility

Created on 7 Apr 2018  路  1Comment  路  Source: pallets/flask

Every time we use flask there is some basic code we need to write and some directories we need to create. We can automate that particular cumbersome task by something like flask init which will let's say create an app.py file containing the basic imports statements, a basic hello world route, code to start the server on the default port, basic directories like a template, static etc.
Basically something like Django's django-admin startproject.

Most helpful comment

There are plenty of projects that do this already, some better than others. Flask does not require any specific layout, there are many decisions that should be made and understood by the developer, not an automated tool. This is not something we plan to add.

>All comments

There are plenty of projects that do this already, some better than others. Flask does not require any specific layout, there are many decisions that should be made and understood by the developer, not an automated tool. This is not something we plan to add.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stillesjo picture stillesjo  路  4Comments

greyli picture greyli  路  3Comments

lnielsen picture lnielsen  路  3Comments

xliiv picture xliiv  路  3Comments

davidhariri picture davidhariri  路  3Comments