An open API service indexing awesome lists of open source software.

https://github.com/koki-develop/gh-grass

🍀 Grow github grass to console.
https://github.com/koki-develop/gh-grass

Last synced: 10 months ago
JSON representation

🍀 Grow github grass to console.

Awesome Lists containing this project

README

          





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


Grow github grass to console.

# gh-grass

- [Installation](#installation)
- [Usage](#usage)
- [LICENSE](#license)

## Installation

```sh
$ gh extension install koki-develop/gh-grass
```

## Usage

```console
$ 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

```sh
$ gh grass
```

![demo](./assets/demo.gif)

### Specify a User

```sh
$ gh grass --user
# e.g.
$ gh grass --user koki-develop
```

![](./assets/user.gif)

### Specify Time Period

```sh
$ gh grass --from ""
$ gh grass --to ""
$ gh grass --from "" --to ""
```

![](./assets/period.gif)

### Change Theme

```sh
$ gh grass --theme
# e.g.
$ gh grass --theme light
```

![](./assets/theme.gif)

### Custom Grass

```sh
$ gh grass --grass ""
# e.g.
$ gh grass --grass "●"
```

![](./assets/grass.gif)

### Animation

```sh
$ gh grass --animate
```

![](./assets/animate.gif)

### Print Total Contributions

```sh
$ gh grass --total
```

![](./assets/total.gif)

## LICENSE

[MIT](./LICENSE)