Skip to content

Python script that creates directory structure from template

Notifications You must be signed in to change notification settings

warisali2/create-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

create-app

Python script that creates directory structure from template

Introduction

Just a simple script that creates a directory structure from template

How to use it?

  1. 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
  1. 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

About

Python script that creates directory structure from template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages