Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kyoz/all-repos-cli

Useful CLI to get, find and access github repositories
https://github.com/kyoz/all-repos-cli

cli github-cli github-repos github-repos-cli github-repository node node-module

Last synced: about 2 months ago
JSON representation

Useful CLI to get, find and access github repositories

Awesome Lists containing this project

README

        

# all-repos-cli

> Useful CLI to get github repositories

[![Build Status](https://travis-ci.org/banminkyoz/all-repos-cli.svg?branch=master)](https://travis-ci.org/banminkyoz/all-repos-cli) [![NPM version](https://badge.fury.io/js/all-repos-cli.svg)](http://badge.fury.io/js/all-repos-cli) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)



## Introduce

- Since Github API do have rate limit, i do use another approach is to get infomation in webpage.
- But it's not good if we send too much request, so i do store data in local json files to read more faster and we don't have to request to github too much. Just when we need lastest data, we do update (It's like `git pull`...).

## Install

```
$ npm install -g all-repos-cli
```

## Usage

```js
$ repos --help

Usage
$ repos
$ repos
Options
--update, --u Update repositories data to latest
--updateUser, --uu Update default user (Since 'npm whoami' is quite slow)
--clearCache, --cc Clear local cache
Examples
$ repos Get local repositories of current user
$ repos banminkyoz Get local repositories of 'banminkyoz'
$ repos --u Update repositories of current user to latest
$ repos --u banminkyoz Update repositories of 'banminkyoz' to latest
$ repos --uu Update npm current logged user
$ repos --cc Clear all local cache
```

## Related

- [all-repos](https://github.com/banminkyoz/all-repos) - API for this module

## License

MIT © [Kyoz](mailto:[email protected])