template-engine-cli
v1.0.1
Published
CLI to generate projects from custom templates
Maintainers
Readme
⚡ Template Engine (tpe)
A powerful CLI tool to create and manage project templates — fast, consistent, and customizable. Developed and maintained by @crixeen.
🚀 Overview
Template Engine (or simply tpe) allows you to quickly scaffold new projects from predefined templates.
You can use local templates (included inside the project) and — in future updates — connect to remote templates.
📂 Project Structure
template_engine/
├── 📁bin
│ └── tpe.js
├── 📁src
│ ├── cli.js
│ ├── main.js
│ └── 📁utils
│ ├── paths.js
│ ├── prompts.js
│ └── templates.js
├── 📁templates
│ └── 📁node
│ └── 📁js
│ └── 📁template
│ ├── metadata.json
│ ├── package.json
│ ├── README.md
│ └── src/
├── .gitignore
├── package.json
└── README.md⚙️ Installation
# Clone the repository
git clone https://github.com/crixeen/template_engine.git
cd template_engine
# Install dependencies
pnpm installTo use the CLI globally (for testing during development):
pnpm linkNow you can run it anywhere using:
tpe🧱 Template Naming Rules
All templates must follow this structure:
templates/
└── <category>/
└── <template-name>/
├── metadata.json
├── package.json
├── README.md
└── src/Example:
templates/
└── node/
└── express-api/
├── metadata.json
├── package.json
├── README.md
└── src/This keeps all templates organized and easy to locate by category (like node, react, etc.) and language (js, ts, etc.).
🧩 Usage Example
To create a new project:
npx tpe createYou’ll be prompted to select a template and provide a project name.
📜 License
MIT © 2025 — @crixeen
