Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/z1cheng/statscat
Git statistics but with a cat
https://github.com/z1cheng/statscat
cat cli command commandline git gitstats go go-cli golang statistics statscat terminal
Last synced: 9 days ago
JSON representation
Git statistics but with a cat
- Host: GitHub
- URL: https://github.com/z1cheng/statscat
- Owner: z1cheng
- License: mit
- Created: 2022-08-08T15:23:26.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-13T16:46:37.000Z (about 2 years ago)
- Last Synced: 2024-06-21T03:13:39.325Z (5 months ago)
- Topics: cat, cli, command, commandline, git, gitstats, go, go-cli, golang, statistics, statscat, terminal
- Language: Go
- Homepage:
- Size: 229 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stats Cat π
Git statistics but with a cat
[![StatsCat](https://img.shields.io/badge/Repo-Stats%20Cat%20%F0%9F%90%88-yellow)](https://github.com/z1cheng/statscat) [![Language:Go](https://img.shields.io/static/v1?label=Language&message=Go&color=blue&style=flat-square)](https://go.dev) [![Go Report Card](https://goreportcard.com/badge/github.com/z1cheng/statscat)](https://goreportcard.com/report/github.com/z1cheng/statscat) [![License:MIT](https://img.shields.io/static/v1?label=License&message=MIT&color=blue&style=flat-square)](https://opensource.org/licenses/MIT)
Stats Catπ is a CLI tool to get statistics of your all git repositories.
![example](docs/example.gif)
## Installation
You need to confirm you have configured **Golang environment** beforce installing Stats Cat.
Then just run the following command:
```bash
go install github.com/z1cheng/statscat@latest
```## Usage
```
Usage:
statscat [-d dir] [-a author] [--since since]Examples:
statscat # get the statistics of all repositories in current directory
statscat -d /directory -a author --since 1.week # get the statistics of all repositories under /directory, author is author name, since is from 1 week agoFlags:
-a, --author string author name to be calculated, default is all authors
-d, --dir string directory to be calculated, statscat will search recursively, default is current directory (default ".")
-h, --help help for statscat
--since string show stats more recent than a specific date
```