1.0.2 • Published 2 years ago
gh-deets v1.0.2
GitHub CLI Tool
A simple command-line interface (CLI) tool to retrieve details of a GitHub account.
Table of Contents
Installation
You can install gh-deets via npm by running the following command:
npm install -g gh-deetsUsage
After installing the package globally, you can use it in the command line as follows:
gh-deets <GitHub-Username>Replace with the desired GitHub username.
Example
gh-deets octocatOutput:
=============== Getting repository details for octocat ===============
Name: The Octocat
Number of public repositories: 11
Followers: 2437
Following: 9Error Handling
- If no GitHub username is provided:
Please, pass in GitHub username- If the GitHub username is not found:
Cannot find repository details for <GitHub-Username>- If an error occurs during the API request:
Sorry, something went wrongCredits
This NPM package was developed by Tobiloba Odukoya.