Skip to content

chore: add --top option and bump to v0.2.0#7

Merged
mloncarevich merged 2 commits into
mainfrom
chore/polish-v0.2
Feb 27, 2026
Merged

chore: add --top option and bump to v0.2.0#7
mloncarevich merged 2 commits into
mainfrom
chore/polish-v0.2

Conversation

@mloncarevich

Copy link
Copy Markdown
Owner

Summary

New feature

  • Add --top N / -t N option to show only top N contributors
  • Useful for repos with many contributors

Version bump

  • Bump version from 0.1.0 → 0.2.0
  • Reflects all the new features added

Usage

# Show only top 5 contributors
gitstats stats --top 5

# Combine with other filters
gitstats stats --top 3 --since 2025-01-01

Example output

👥 Commits by Author (top 5 of 23)
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Author         ┃ Commits ┃ Percentage ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━┩
│ Milan          │      42 │     35.0%  │
│ ...            │     ... │       ...  │
└────────────────┴─────────┴────────────┘

Made with Cursor

@mloncarevich mloncarevich merged commit 386f421 into main Feb 27, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant