1.0.0 • Published 5 months ago
get-github-user-events v1.0.0
🚀 GitHub Info CLI
A simple command-line tool that fetches and displays GitHub user events in a table format.
📦 Installation
You can install the CLI tool globally using npm:
npm install -g github-info-cli
🛠️ Usage
Run the command with a GitHub username:
githubInfo <username>
📌 Example
githubInfo octocat
If the user exists, their GitHub events will be displayed in a table format using cli-table3
.
⚠️ Error Handling
- If no username is provided, the tool will display an error message in red using
chalk
. - If the specified username does not exist, an error message will also be shown in red.
📚 Dependencies
- 🎨 chalk - Used to display colored messages.
- 📊 cli-table3 - Used to format the output in a table.
- 🔗 axios - Used to fetch data from GitHub API.
📖 Resources
Made from roadmap.
🤝 Contributing
Feel free to fork the repository and submit a pull request with improvements.
📝 License
This project is licensed under the ISC License.
1.0.0
5 months ago