Skip to content

koki-develop/gh-grass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release (latest by date) GitHub Workflow Status Maintainability Go Report Card LICENSE

Grow github grass to console.

gh-grass

Installation

$ gh extension install koki-develop/gh-grass

Usage

$ gh grass --help
Grow github grass to console.

Usage:
  gh grass [flags]

Flags:
  -u, --user string    github username
      --from string    only contributions made at this time or later will be counted
      --to string      only contributions made before and up to (including) this time will be counted
  -t, --theme string   grass theme (dark|light) (default "dark")
  -g, --grass string   grass string (default "β– ")
  -a, --animate        animate grass
      --total          print total contributions
  -h, --help           help for gh

Basic

$ gh grass

demo

Specify a User

$ gh grass --user <USERNAME>
# e.g.
$ gh grass --user koki-develop

Specify Time Period

$ gh grass --from "<yyyy-MM-dd>"
$ gh grass --to "<yyyy-MM-dd>"
$ gh grass --from "<yyyy-MM-dd>" --to "<yyyy-MM-dd>"

Change Theme

$ gh grass --theme <dark or light>
# e.g.
$ gh grass --theme light

Custom Grass

$ gh grass --grass "<GRASS STRING>"
# e.g.
$ gh grass --grass "●"

Animation

$ gh grass --animate

Print Total Contributions

$ gh grass --total

LICENSE

MIT