CLI to interact with GitHub Trends service
npm i -g github-trends-cli
gh-trends -h
or
npx github-trends-cli -h
- gh-trends get-all - get all trend repositories from db
- gh-trends get-all -l [number] -o [number] - set limit and offset
- gh-trends get-one - get trend repository from db by id
- gh-trends get-one --by-name - get trend repository from db by name
- gh-trends sync - reset the internal request timer to the github trends api