【文件属性】:
文件名称:all-repos-cli:获取,查找和访问github存储库的有用CLI
文件大小:1.5MB
文件格式:ZIP
更新时间:2021-04-29 14:23:49
cli node node-module github-cli github-repository
所有仓库
有用的CLI获取github仓库
介绍
由于Github API确实有速率限制,所以我使用另一种方法是在网页中获取信息。
但是如果我们发送太多请求不是很好,所以我确实将数据存储在本地json文件中以更快地读取数据,而我们不必向github请求太多。 当我们需要最新数据时,我们会进行更新(就像git pull ...)。
安装
$ npm install -g all-repos-cli
用法
$ repos -- help
Usage
$ repos
$ repos < github>
Options
-- update , -- u Update repositories data to latest
-- updateUser , -- uu Update default user
【文件预览】:
all-repos-cli-master
----.gitignore(17B)
----package.json(1KB)
----cli.js(5KB)
----.npmrc(18B)
----.travis.yml(80B)
----LICENSE(1KB)
----test.js(80B)
----README.md(2KB)
----demo.gif(1.6MB)
----.editorconfig(178B)