Skip to content

feat: add zenith stats command for cache statistics#81

Open
zubeyralmaho wants to merge 1 commit intojotform:masterfrom
zubeyralmaho:feat/stats-command
Open

feat: add zenith stats command for cache statistics#81
zubeyralmaho wants to merge 1 commit intojotform:masterfrom
zubeyralmaho:feat/stats-command

Conversation

@zubeyralmaho
Copy link

Adds a new zenith stats command for viewing cache statistics.

Changes

  • Created StatsRunner class in src/commands/stats/
  • Shows cache size, hit rate, and project breakdown
  • Added unit tests

Usage

zenith stats

- Add `zenith stats` command to show project and cache statistics
- Display total projects, cache size, and file counts
- Support --json flag for machine-readable output
- Support --verbose flag for detailed per-project stats
- Show cached targets for each project
- Add unit tests for StatsRunner

Also includes init and clean commands from previous PRs
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