1.1.0 ā¢ Published 2 years ago
create-new-template v1.1.0
[ Image here... ]
Instalation
npm i -g create-new-template # with npm
yarn global add create-new-template # Or, if you are using yarn
Usage
you don't need to give arguments to the command, but, if you don't, it will ask where is the templates repo, which branch you wanna to use and the project's name (command will not be asked).
Usage: use-template [PROJECT NAME] -r [USER/REPO] -b [BRANCH] -c [COMMAND]
or: use-template
A small and simple tool to clone GitHub repositories and use them as template.
--repo -r Github repository, you need to specify. Like that: example/examplerepo
--branch -b Branch of the repository that have your template. (e.g. main, master, dev...)
--command -c Command to run after cloning the repo and before initialize that.
Usage example:
use-template [PROJECT NAME] -r [USER/REPO] -b [BRANCH] -c [COMMAND]
(you don't have to follow any pattern.)
Todo
- Improve my english in README...
- Publish on NPM
Thanks for reading the project description! <3