GitHub CLI commands to manage basic things from command-line itself, e.g. Create Repo from CLI
.
├── bin
│ └── index.js
├── github_assets
│ ├── create repo.jpg
│ └── gh-create-repo help.jpg
├── utils
│ └── createRepo.mjs
├── README.md
├── package-lock.json
└── package.json
Replace GITHUB_ACCESS_TOKEN with your own access token in .env.example and change the file name to .env
Clone the Project
git clone https://github.com/anuj-thakur-513/GitHub-CLI.git
Change Directory to the Project
cd GitHub-CLI
Install the Dependences
npm install
Install the command globally to your system
npm install -g .
Run the following command to know how to use it to create repos on github
gh-create-repo --help