A simple CLI to manage templates and scaffold any project quickly and easily (Uses degit inside).
It's a simple command-line interface (CLI) utility tool to store some of your templates/starter-projects in the cli's storage and use them with friendly names. For example: You can store KrishGarg/vite-vanillajs-tailwind-template#main
as vite-vanilla-tailwind
and then whenever you need it, you can use scaff make vite-vanilla-tailwind new_app_name
!
Note: Not yet published.
To install just use:
# NPM
npm i -g project-scaffold
# Yarn
yarn global add project-scaffold
Note: Not all commands are yet finished.
After it is installed, you can use the cli.
-
To scaffold a project with the nickname:
scaff make <nickname> [project name = "new_app"]
-
To list all the default templates it comes with:
scaff list
-
To add a template in the list:
scaff add <nickname> <degit url>
Degit URL would be of form:
username/repo-name#branch
-
To remove an existing template:
scaff remove <nickname>
scaff -h
This project is licensed under the MIT License - see the LICENSE.md file for details