Skip to content

aymenhta/create-flask-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

create-flask-app

a cli tool that scaffolds a flask application

examples

the following command generate a blog web app:

$ python main.py -o blog -d . -b post auth account dashboard
./blog/
β”œβ”€β”€ core
β”‚Β Β  β”œβ”€β”€ account
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ forms.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ routes.py
β”‚Β Β  β”‚Β Β  └── templates
β”‚Β Β  β”‚Β Β      └── account
β”‚Β Β  β”‚Β Β          └── index.html
β”‚Β Β  β”œβ”€β”€ auth
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ forms.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ routes.py
β”‚Β Β  β”‚Β Β  └── templates
β”‚Β Β  β”‚Β Β      └── auth
β”‚Β Β  β”‚Β Β          └── index.html
β”‚Β Β  β”œβ”€β”€ config.py
β”‚Β Β  β”œβ”€β”€ dashboard
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ forms.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ routes.py
β”‚Β Β  β”‚Β Β  └── templates
β”‚Β Β  β”‚Β Β      └── dashboard
β”‚Β Β  β”‚Β Β          └── index.html
β”‚Β Β  β”œβ”€β”€ exts.py
β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”œβ”€β”€ models.py
β”‚Β Β  β”œβ”€β”€ post
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ forms.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ routes.py
β”‚Β Β  β”‚Β Β  └── templates
β”‚Β Β  β”‚Β Β      └── post
β”‚Β Β  β”‚Β Β          └── index.html
β”‚Β Β  β”œβ”€β”€ static
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ css
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── main.css
β”‚Β Β  β”‚Β Β  └── js
β”‚Β Β  β”‚Β Β      └── main.js
β”‚Β Β  β”œβ”€β”€ templates
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ about.html
β”‚Β Β  β”‚Β Β  └── base.html
β”‚Β Β  └── utils.py
β”œβ”€β”€ requirements.txt
└── run.py

17 directories, 27 files

About

a tool to help me scaffold a flask application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages