A cli to clone your template projects more easily and fast. One command and your project are created with all package installed.
- Improve your code velocity with this simple cli.
- Getting project template from (GITHUB).
Instale my-project com npm
npm i -g @gbrogio/gbrogio-cli
• --init -i Initialize creation of the config file for cli works.
• create c Initialize creation of new project from template repository.
• update u Initialize update of the config file.
The GitHub Personal access token are an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line. Personal access tokens are intended to access GitHub resources on behalf of yourself... read mode
Follow the tutorial to generate your: Creating a personal access token
In step 6 you can use the name "gbrogio-cli".
For update your ghp token when it expires usage:
$ gbrg u -ght <your-gh-token-here>
# or
$ gbrogio u -ght <your-gh-token-here>
If you want to use a private repository, you will need ghp access token, follow the last step.
-
Now create your github repository and add your projects templates. Then run the command:
$ gbrg -i # or $ gbrogio --init
-
Response the Answers correctly.
-
Now run the command
$ gbrg c # or $ gbrogio create
if your want to use another repository usage:
$ gbrg c --rp https://github.com/<owner>/<repo>
# or
$ gbrogio create --repository https://github.com/<owner>/<repo>
Run for more details:
$ gbrg -h create -m
Have some feedback, talk with me [email protected]
read the MIT LICENSE