create-template-app
About:
Clones a repo with existing configuration, then removes its origin.
Usage:
-
Install:
npm i -g create-template-app
-
Run: (creates project in cwd)
create-template-app <project_name> <new_origin?>
-
Add: (skip if
new_origin
arg was provided in step 2)git remote add origin <new_origin>
To do:
- Setup template repo and update url
- Validate args
- Publish to NPM
- Add option to choose type of project (different configs)