ghkw

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2018 License: MIT Imports: 16 Imported by: 0

README

ghkw

GitHub release Travis Go Documentation MIT License

ghkw is GitHub KeyWord.

Search how many keywords in GitHub Code by GitHub API.

Usage

$ ghkw [options...] [keyword ...]
Example

Output markdown format.

$ ghkw exclusion_condition exclude_condition excluded_condition
| RANK |       KEYWORD       | TOTAL |
|------|---------------------|-------|
|    1 | exclude_condition   |   272 |
|    2 | exclusion_condition |    64 |
|    3 | excluded_condition  |     2 |
Options
-d, --debug    Enable debug mode.
               Print debug log.

-h, --help     Show this help message and exit.

-v, --version  Print current version.

NOTE: Set Github Access Token which has "Full control of private repositories" scope as an environment variable GITHUB_TOKEN. If not set, ghkw requires your Github username and password(and two-factor auth code if you are setting). Because of using GitHub API v3.

Install

Homebrew

If you have already installed Homebrew; then can install by brew command.

$ brew tap kyoshidajp/ghkw
$ brew install ghkw
go get

If you are a Golang developper/user; then execute go get.

$ go get -u github.com/kyoshidajp/ghkw
Manual
  1. Download binary which meets your system from Releases.
  2. Unarchive it.
  3. Put ghkw where you want.
  4. Add ghkw path to $PATH.

Author

Katsuhiko YOSHIDA

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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