gh-grass

command module
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2023 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL