Python script that creates directory structure from template
Just a simple script that creates a directory structure from template
- Define the structure in a text file ..* Use '+' to create a file ..* Use spaces or tabs to define the hierarchy
flask
app
template
static
main
+__init__.py
+errors.py
+views.py
+__init__.py
+errors.py
+models.py
migrations
tests
+config.py
- Run
create-app -s PATH_TO_STRUCTURE_FILE
and it will create the defined structure in ~ directory
|-flask
|-app
|-template
|-static
|-main
|-__init__.py
|-errors.py
|-views.py
|-__init__.py
|-errors.py
|-models.py
|-migrations
|-tests
|-config.py
also see create-app -h
for more details