A command-line interface (CLI) tool to find the most recent activity of a GitHub user.
Project page url: https://roadmap.sh/projects/github-user-activity
To install the GitHub User Activity CLI, first clone this github repository:
git clone https://github.com/Rahul8320/Github-User-Activity-Cli.gitThen move to the Github-User-Activity-Cli directory and run the following command:
npm installThen build this tool and install globally in your system using the following command:
npm run build
npm install -g .This will install the CLI tool globally on your system.
To use the GitHub User Activity CLI, run the following command:
github-activity -u <username>Replace <username> with the actual GitHub username you want to retrieve activity for.
-
-u, --username <username>: Specify the GitHub username to retrieve activity for. (required) -
-d, --details: Show detailed activity. -
-f, --filter <filter>: Filter activity by event type. -
-h, --help: Display this help message. -
-V, --version: Display the version number.
- Retrieve activity for the GitHub user
rahul8320:
github-activity -u rahul8320This will display the most recent activity for the user rahul8320 on GitHub.
- Retrieve detailed activity for the GitHub user
rahul8320:
github-activity -u rahul8320 -dThis will display the detailed activity for the user rahul8320 on GitHub.
- Filter activity by event type for the GitHub user
rahul8320:
github-activity -u rahul8320 -f PushEventThis will display only push events for the user rahul8320 on GitHub.
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request with your changes.
This project is licensed under the ISC License.
