create-jtemplate
v1.0.1
Published
Initialize a new project from jtemplate boilerplate
Maintainers
Readme
create-jtemplate
A CLI tool to initialize a new project from jtemplate boilerplate.
Usage
# Using npm init (recommended)
npm init jtemplate <project-name>
# Or using npx
npx create-jtemplate <project-name>
# Or install globally
npm install -g create-jtemplate
create-jtemplate <project-name>How it works
First attempt: Tries to clone from the primary repository via SSH:
[email protected]:jvfe/base/template/boilerplate.gitFallback: If the primary repository is unavailable or you don't have SSH access, it automatically falls back to:
https://cnb.cool/yc_null/base/templateClean up: After cloning, the
.gitdirectory is removed to give you a fresh start.
Requirements
- Node.js >= 14.0.0
- Git installed and available in PATH
Repository Priority
The tool attempts repositories in this order:
Primary (SSH):
[email protected]:jvfe/base/template/boilerplate.git- Requires SSH key configured
- Faster and more secure
Fallback (HTTPS):
https://cnb.cool/yc_null/base/template- No authentication required
- Public access
License
MIT
