Analyze your command history.
Table of Contents
Have you ever wondered what commands you're running the most for work or personal projects? cmdtop
lets you show off your history as a way of showcasing favorite tools, processes, or just plain habits.
Here's my cmdtop
:
Top 5 commands:
1: ls (46)
2: cd (40)
3: vi (25)
4: yay (20)
5: go (15)
At the top is ls
(pretty common) and I've used it 46 times.
Follow the instructions for downloading and installing Go.
- Clone the repo
git clone https://github.com/quentinlintz/cmdtop.git
- Change directory and run the command
cd cmdtop go run .
- Use the
-h
flag to list detailed flag usage - Use the
-top {int}
flag to choose how many top commands to display - Use the
-version
flag to check the version - Use the
-license
flag to view the software license
- Add zsh parser
- Add bash parser
- Add fish parser
- Enhance output format (open to creative ideas!)
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Quentin Lintz - @quentinlintz - quentinlintz@outlook.com
Project Link: https://github.com/quentinlintz/cmdtop