https://github.com/gbrogio/gbrogio-cli
https://github.com/gbrogio/gbrogio-cli
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gbrogio/gbrogio-cli
- Owner: gbrogio
- License: mit
- Created: 2022-12-29T15:18:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T16:50:08.000Z (over 2 years ago)
- Last Synced: 2025-01-09T14:57:59.939Z (4 months ago)
- Language: TypeScript
- Size: 211 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 
> 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).## Instalação
Instale my-project com npm
```bash
npm i -g @gbrogio/gbrogio-cli
```---
## Commands 🤖
```bash
• --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.
```## GHP Access Token 🗝️
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](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)
Follow the tutorial to generate your:
[Creating a personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-personal-access-token-classic)> In step 6 you can use the name "gbrogio-cli".
For update your ghp token when it expires usage:
```bash
$ gbrg u -ght
# or
$ gbrogio u -ght
```---
---## Creating a template repository
> If you want to use a private repository, you will need ghp access token, follow the [last step](#ghp-access-token).
- Now [create your github repository](https://docs.github.com/en/get-started/quickstart/create-a-repo) and add your projects templates.
Then run the command:```bash
$ gbrg -i
# or
$ gbrogio --init
```- Response the Answers correctly.
- Now run the command```bash
$ gbrg c
# or
$ gbrogio create
```if your want to use another repository usage:
```bash
$ gbrg c --rp https://github.com//
# or
$ gbrogio create --repository https://github.com//
```> Run for more details:\
> ```$ gbrg -h create -m```---
## Feedback 📫
Have some feedback, talk with me [email protected]
## Creators
- [@gbrogio](https://www.github.com/gbrogio)
---
## Licença 📜
read the [MIT LICENSE](./LICENSE)