1.0.2 • Published 1 year ago

@gbrogio/gbrogio-cli v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

GUilherme Brogio CLI - LOGO

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

  npm i -g @gbrogio/gbrogio-cli

Commands 🤖

  • --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

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>


Creating a template repository

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


Feedback 📫

Have some feedback, talk with me guilhermebrogio.ps@gmail.com

Creators


Licença 📜

read the MIT LICENSE