kusa

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2018 License: MIT Imports: 1 Imported by: 0

README

kusa

🌿 kusa is a command line tool that creates a contribution on a specified date. Can fill GitHub contributions graph with a dummy commit.

What is "kusa"

https://twitter.com/tenderlove/status/907395402336538625

Install

To install kusa, simply run:

$ go get github.com/d-kuro/kusa

Make sure your PATH includes the $GOPATH/bin directory so your commands can be easily used:

export PATH=$PATH:$GOPATH/bin

Quick Start

Use kusa create command to create a GitHub contribution.

$ kusa create --repo ./kusa --mail kusa@example.com --date 2018-12-24

Option:

  • --repo (-r)
    • local directory path for clone GitHub repository (required)
  • --mail (-m)
    • Your e-mail address.
    • Notes: please use the email address registered on the GitHub setting page.
  • --date (-d)
    • Date to create GitHub contribution.
    • Default is Today
    • Format: yyyy-mm-dd

Please input as you are prompted to enter user name and password.

$ kusa create --repo ./kusa --mail kusa@example.com --date 2018-12-24
...
user name:
password:

When input is completed push is done and GitHub contribution is created.

Help
$ kusa -h
Usage:
  kusa [flags]
  kusa [command]

Available Commands:
  create      Create GitHub contribution
  help        Help about any command

Flags:
  -h, --help   help for kusa
$ kusa create -h
Create GitHub contribution on date specified by date option

Usage:
  kusa create [flags]

Flags:
  -c, --commit string   commit message (default ":herb: ʕ ◔ϖ◔ʔ :herb:")
  -d, --date string     date [format: yyyy-mm-dd] (default "2018-12-23") // default is today
  -h, --help            help for create
  -m, --mail string     commit author mail address (default "kusa@example.com")
  -n, --name string     commit author name (default "ʕ ◔ϖ◔ʔ")
  -r, --repo string     local directory path for clone GitHub repository (required)

Todo

  • Testing
  • Create multiple GitHub contributions at once

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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