Simple CLI to create a new repo on github
npm i -g rcreate
- Create a new project:
$ rcreate -t <github-token> <project-name>
- If in the current folder there's already a folder called "project-name" you can override it with
-f
, otherwise the process will exit:
$ rcreate -f -t <github-token> <project-name>
- To set a default Github Authorization Token run: (it will be saved in the
.rcreate-config.json
file in your home folder)
$ rcreate -s -t <github-token>
- If a default Github Authorization Token is detected, to create a new project run:
$ rcreate <project-name>