Skip to content

z1cheng/statscat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stats Cat 🐈

Git statistics but with a cat

StatsCat Language:Go Go Report Card License:MIT

Stats Cat🐈 is a CLI tool to get statistics of your all git repositories.

example

Installation

You need to confirm you have configured Golang environment beforce installing Stats Cat.

Then just run the following command:

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 ago

Flags:
  -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