w-clone-template
v1.0.8
Published
The "clone template" npm package quickly sets up new project by cloning a repository. Simplifies project initiation and maintains consistency.
Downloads
4
Readme
w-clone-template CLI
A command-line tool to quickly set up a new project based on a template.
Requirements
Ensure you have Node.js installed.
Usage
npx w-clone-template project_name
Options:
- -n, --name : Required. Specifies the name for your new project.
- -d, --directory : Specifies the destination directory name. If not provided, the current working directory will be used.
- -t, --template : Specifies the template to use. If not provided, the react template will be used. supported templates are [react, expressjs, mern]
What It Does
- Clones the template repository based on the template provided by the user
- Edits package.json to set the project name.
- Initializes a new Git repository with an initial commit and a new README.md file.
- Installs npm dependencies.
License
This project is licensed under the MIT License