0.1.0 • Published 8 years ago
github-api-cli v0.1.0
github-api-cli
A read-only CLI tool for fetching github resources from Github REST v3 API and writing them stdout as JSON.
To install:
npm install -g github-api-cliusage
Fetches and merges all pages of code.search while obeying rate limits:
github-api-cli get search code q='filename:package.json org:g-k' per_page=100Optionally uses a Github PAT provided as the env var GITHUB_TOKEN to authenticate:
GITHUB_TOKEN=mypat github-api-cli get search code q='filename:package.json org:g-k'0.1.0
8 years ago