github-tool-finder

module
v0.0.0-...-f44d30b Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0

README

github-tool-finder

Find repositories on Github.

Search repositories on the Github api based on a query. Results are sent to STDOUT in CSV format.

Install
  • install GO 1.14 or higher
  • git clone git@github.com:vcsfrl/github-tool-finder.git
  • cd github-tool-finder/
  • make build
Usage

./bin/search [query] [total]

ENV Variables:

  • GH_TOKEN - oAuth access token from Github.
Tests
  • cd /project/path
  • Run tests: make test
  • Run coverage: make cover
  • Run coverage html: make cover-html
Examples
  • ./bin/search "orm language:php sort:stars-desc" 50 > /path/to/result.csv
  • GH_TOKEN=github_access_token ./bin/search "orm language:php sort:stars-desc" 50 > /path/to/result.csv

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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