create-project-cli-cm
v1.0.0
Published
⚡ Fast project scaffolding CLI tool with 5 pre-built templates. Zero dependencies, 10+ minutes saved per project!
Downloads
8
Maintainers
Readme
create-project-cli
A CLI tool to quickly scaffold new projects with predefined templates. Save 10+ minutes on every project setup!
Why This Tool?
Stop wasting time creating the same folders and files for every new project. This tool automates project setup so you can start coding immediately.
Features
- 🚀 Zero Dependencies - Uses only Node.js built-in modules
- 📦 5 Templates - Basic, Web, API, CLI, and Fullstack
- 🔧 Git Ready - Optional Git initialization
- ✅ Smart Validation - No duplicate or invalid project names
Installation
Option 1: NPM (Recommended)
npm install -g @chandan-mishra/create-project-cli
# Now use globally
create-proj my-projectOption 2: From Source
git clone https://github.com/chandan-mishra846/scaffold-cli.git
cd scaffold-cli
node index.js my-projectRequirements: Node.js 14.0.0+
Quick Start
# Basic project
create-proj my-project
# Web project with Git
create-proj my-website -t web -g
# API with author name
create-proj my-api -t api -a "Your Name"
# Fullstack project
create-proj my-fullstack -t fullstackNote: If installed from source, use node index.js instead of create-proj
Commands
| Command | Description |
|---------|-------------|
| create-proj <name> | Create basic project |
| -t, --template <type> | Choose template: basic, web, api, cli, fullstack |
| -g, --git | Initialize Git repository |
| -a, --author <name> | Set author name |
| -h, --help | Show help |
Templates
Basic - Simple structure with src/, utils/, tests/
Web - HTML/CSS/JS with organized folders
API - REST API with routes and controllers
CLI - Command-line tool structure
Fullstack - Complete frontend + backend setup
Example Output
$ node index.js portfolio -t web -g
Creating web project: portfolio...
✓ Project structure created
✓ Git repository initialized
✓ Project "portfolio" created successfully!
Next steps:
cd portfolio
npm install
npm startTesting
npm testProject Structure
create-project-cli/
├── index.js # Main CLI
├── utils/
│ ├── argumentParser.js # Parse commands
│ ├── templateGenerator.js # Generate templates
│ └── logger.js # Console output
├── test.js # Tests
└── package.jsonVideo Demonstration
🎥 Watch the full demonstration: https://youtu.be/nP_Fc_LGYIg
This 3-5 minute video covers:
- Problem statement and motivation
- Live demonstration of all features
- Design choices and implementation details
- Error handling and validation
License
MIT License
Author
Mishra | 2026
