A simple Python script to scaffold a Pug-based project structure with SCSS, JS, and configuration files.
- Creates a structured folder hierarchy:
src/js,src/data,src/assetssrc/scsswith subfolders:abstracts,base,components,layouts,pages,themes,utilities,vendorssrc/pugwith subfolders:views,includes,mixins,componentsdistfolder
- Copies starter files:
package.json(with project name replaced)src/scss/main.scsssrc/index.jswebpack.config.js
python3 __main__.pyEnter the project name when prompted.
- Asset files are expected in the
assetsfolder alongside the script. - Future improvements: move folder definitions to
settings.py.